ray.rllib.env.single_agent_episode.SingleAgentEpisode.get_state#

SingleAgentEpisode.get_state() Dict[str, Any][source]#

Returns the pickable state of an episode.

The data in the episode is stored into a dictionary. Note that episodes can also be generated from states (see SingleAgentEpisode.from_state()).

Returns:

A dict containing all the data from the episode.