code: def append(self, obs, act, reward, next_obs, terminal):
      if self._curr_size < self.max_size:
          self._curr_size += 1
      self.obs[self._curr_pos] = obs
      self.action[self._curr_pos] = act
      self.reward[self._curr_pos] = reward
      self.next_obs[self._curr_pos] = next_obs
      self.terminal[self._curr_pos] = terminal
      self._curr_pos = (self._curr_pos + 1) % self.max_size
  
file_path: PARL/examples/NeurIPS2019-Learn-to-Move-Challenge/replay_memory.py
imports: import numpy
  from parl.utils import logger
label_desc: Use image node_id 5 for calling the ReplayMemory obj's underlying member method code with example usage: obj.append(obs, act, reward, next_obs, terminal) without return types