code: def __init__(self, max_size, obs_dim, act_dim):
      self.max_size = int(max_size)
      self.obs_dim = obs_dim
      self.act_dim = act_dim
  
      self.obs = np.zeros((max_size, obs_dim), dtype="float32")
      self.action = np.zeros((max_size, act_dim), dtype="float32")
      self.reward = np.zeros((max_size,), dtype="float32")
      self.terminal = np.zeros((max_size,), dtype="bool")
      self.next_obs = np.zeros((max_size, obs_dim), dtype="float32")
  
      self._curr_size = 0
      self._curr_pos = 0
  
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 1 to create a new ReplayMemory object from inherited base classes: object with example: obj = ReplayMemory(max_size, obs_dim, act_dim)