View source on GitHub
|
Trajectory containing time_step transition information.
Classes
class Trajectory: A tuple that represents a trajectory.
class Transition: A tuple that represents a transition.
Functions
boundary(...): Create a Trajectory transitioning between StepTypes LAST and FIRST.
experience_to_transitions(...): Break experience to transitions.
first(...): Create a Trajectory transitioning between StepTypes FIRST and MID.
from_episode(...): Create a Trajectory from tensors representing a single episode.
from_transition(...): Returns a Trajectory given transitions.
last(...): Create a Trajectory transitioning between StepTypes MID and LAST.
mid(...): Create a Trajectory transitioning between StepTypes MID and MID.
single_step(...): Create a Trajectory transitioning between StepTypes FIRST and LAST.
to_n_step_transition(...): Create an n-step transition from a trajectory with T=N + 1 frames.
to_transition(...): Create a transition from a trajectory or two adjacent trajectories.
to_transition_spec(...): Create a transition spec from a trajectory spec.
Other Members | |
|---|---|
| absolute_import |
Instance of __future__._Feature
|
| division |
Instance of __future__._Feature
|
| print_function |
Instance of __future__._Feature
|
View source on GitHub