Crate border_py_gym_env[][src]

Expand description

Gym environment on Python.

Macros

Structs

An observation filter with stacking sequence of original observations.

Represents an environment in OpenAI gym. The code is adapted from tch-rs RL example.

Constructs PyGymEnv.

Represents an action.

Raw filter for continuous actions.

Represents action.

Raw filter for discrete actions.

Observation represented by an ndarray::ArrayD.

An observation filter without any postprocessing.

Information given at every step of the interaction with the environment.

A vectorized environment using multiprocess module in Python. The code is adapted from tch-rs RL example.

Constructs PyVecGymEnv

Enums

Specifies training or evaluation mode.

Traits

Convert PyGymEnv::Act to PyObject.

Convert PyObject to PyGymEnv::Obs.

Functions

Convert PyObject to ArrayD.

Convert ArrayD to PyObject.