class_docstr: Writer API for saving experiences from policy evaluation.
docstr: Saves a batch of experiences.
  
  Args:
      sample_batch: SampleBatch or MultiAgentBatch to save.
docstr_tok: ["Saves","a","batch","of","experiences",".","Args",":","sample_batch",":","SampleBatch","or","MultiAgentBatch","to","save","."]
code: def write(self, sample_batch: SampleBatchType):
      """Saves a batch of experiences.
  
      Args:
          sample_batch: SampleBatch or MultiAgentBatch to save.
      """
      raise NotImplementedError
  
imports: from ray.rllib.utils.annotations import override, PublicAPI
  from ray.rllib.utils.typing import SampleBatchType
label_desc: Use image node_id 1 for calling the OutputWriter obj's underlying member method code with example usage: obj.write(sample_batch) without return types