class_docstr: Abstract class for Replay Buffer.
  
  Args:
      env_spec (EnvSpec): Environment specification.
      size_in_transitions (int): total size of transitions in the buffer
      time_horizon (int): time horizon of epsiode.
docstr: Add an episode to the buffer.
docstr_tok: ["Add","an","episode","to","the","buffer","."]
code: def store_episode(self):
      """Add an episode to the buffer."""
      episode_buffer = self._convert_episode_to_batch_major()
      episode_batch_size = len(episode_buffer["observation"])
      idx = self._get_storage_idx(episode_batch_size)
  
      for key in self._buffer:
          self._buffer[key][idx] = episode_buffer[key]
      self._n_transitions_stored = min(
          self._size_in_transitions,
          self._n_transitions_stored
          + self._time_horizon * episode_batch_size,
      )
  
file_path: garage/src/garage/replay_buffer/replay_buffer.py
imports: import abc
  from abc import abstractmethod
  import numpy
label_desc: Use image node_id 2 for calling the ReplayBuffer obj's underlying member method code with example usage: obj.store_episode() without return types