class_docstr: Abstract interface for all replay buffer implementations.
docstr: Add an actor rollout to the buffer.
  
  :param rollout: A single actor rollout consisting of n_rollout_steps transitions.
docstr_tok: ["Add","an","actor","rollout","to","the","buffer",".",":","param","rollout",":","A","single","actor","rollout","consisting","of","n_rollout_steps","transitions","."]
code: def add_rollout(
      self,
      rollout: Union[
          SpacesTrajectoryRecord, List[StructuredSpacesRecord]
      ],
  ) -> None:
      """Add an actor rollout to the buffer.
  
      :param rollout: A single actor rollout consisting of n_rollout_steps transitions.
      """
  
file_path: maze/maze/train/trainers/common/replay_buffer/replay_buffer.py
imports: from abc import abstractmethod
  from typing import Union, List
  import numpy
  from maze.core.trajectory_recording.records.structured_spaces_record import StructuredSpacesRecord
  from maze.core.trajectory_recording.records.trajectory_record import SpacesTrajectoryRecord
label_desc: Use image node_id 1 for calling the BaseReplayBuffer obj's underlying member method code with example usage: obj.add_rollout(rollout) without return types