ray.rllib.env.multi_agent_episode.MultiAgentEpisode.get_sample_batch#
- MultiAgentEpisode.get_sample_batch() MultiAgentBatch[source]#
Converts this
MultiAgentEpisodeinto aMultiAgentBatch.Each
SingleAgentEpisodeinstances inMultiAgentEpisode.agent_epiosdeswill be converted into aSampleBatchand the environment timestep will be passed as the returned MultiAgentBatch’senv_steps.- Returns:
A MultiAgentBatch containing all of this episode’s data.