#!/usr/bin/env python3
"""This is an example to train a task with TRPO algorithm (PyTorch).

Here it
is a simple example to train a task with TRPO algorithm.

The code is based on the following paper:

https://arxiv.org/abs/1802.05957

"""

import os
import time
import numpy as np
import torch
import torch.nn as nn