ray.rllib.offline.json_reader.JsonReader.read_all_files#
- JsonReader.read_all_files() SampleBatch | MultiAgentBatch | Dict[str, Any] [source]#
Reads through all files and yields one SampleBatchType per line.
When reaching the end of the last file, will start from the beginning again.
- Yields:
One SampleBatch or MultiAgentBatch per line in all input files.