ray.rllib.offline.json_reader.JsonReader#
- class ray.rllib.offline.json_reader.JsonReader(inputs: str | List[str], ioctx: IOContext | None = None)[source]#
Bases:
InputReader
Reader object that loads experiences from JSON file chunks.
The input files will be read from in random order.
Methods
Initializes a JsonReader instance.
Reads through all files and yields one SampleBatchType per line.
Returns TensorFlow queue ops for reading inputs from this reader.