ray.rllib.env.single_agent_episode.SingleAgentEpisode.get_sample_batch#

SingleAgentEpisode.get_sample_batch() SampleBatch[source]#

Converts this SingleAgentEpisode into a SampleBatch.

Returns:

A SampleBatch containing all of this episode’s data.