View source on GitHub |
TensorFlow RL Environment API.
Represents a task to be solved, an environment has to define three methods:
reset
, current_time_step
and step
.
- The reset() method returns current time_step after resetting the environment.
- The current_time_step() method returns current time_step initializing the environmet if needed. Only needed in graph mode.
- The step(action) method applies the action and returns the new time_step.
Classes
class TFEnvironment
: Abstract base class for TF RL environments.
Other Members | |
---|---|
absolute_import |
Instance of __future__._Feature
|
division |
Instance of __future__._Feature
|
print_function |
Instance of __future__._Feature
|