Module: tf_agents.trajectories.time_step

TimeStep representing a step in the environment.

Classes

class StepType: Defines the status of a TimeStep within a sequence.

class TimeStep: Returned with every call to step and reset on an environment.

Functions

restart(...): Returns a TimeStep with step_type set equal to StepType.FIRST.

termination(...): Returns a TimeStep with step_type set to StepType.LAST.

time_step_spec(...): Returns a TimeStep spec given the observation_spec.

transition(...): Returns a TimeStep with step_type set equal to StepType.MID.

truncation(...): Returns a TimeStep with step_type set to StepType.LAST.

absolute_import Instance of __future__._Feature
division Instance of __future__._Feature
print_function Instance of __future__._Feature