ray.rllib.policy.sample_batch.SampleBatch.as_multi_agent#

SampleBatch.as_multi_agent() MultiAgentBatch[source]#

Returns the respective MultiAgentBatch using DEFAULT_POLICY_ID.

Returns:

The MultiAgentBatch (using DEFAULT_POLICY_ID) corresponding to this SampleBatch.