ray.rllib.offline.input_reader.InputReader.next#

abstract InputReader.next() SampleBatch | MultiAgentBatch | Dict[str, Any][source]#

Returns the next batch of read experiences.

Returns:

The experience read (SampleBatch or MultiAgentBatch).