def __init__(self,
                 learner_config,
                 env_config,
                 session_config,
                 index=0):
        """
        Args:
          memory_size: Max number of experience to store in the buffer.
            When the buffer overflows the old memories are dropped.
          sampling_start_size: min number of exp above which we will start sampling
        """
        super().__init__(
            learner_config=learner_config,
            env_config=env_config,
            session_config=session_config,
            index=index
        )
        self._memory = []
        self.memory_size = self.learner_config.replay.memory_size
        self._next_idx = 0

        Args:
          memory_size: Max number of experience to store in the buffer.
            When the buffer overflows the old memories are dropped.
          sampling_start_size: min number of exp above which we will start sampling
        
surreal/replay/uniform_replay.py