code: def sample_batch(self, batch_size):
      batch_idx = np.random.randint(
          self._curr_size - 300 - 1, size=batch_size
      )
  
      obs = self.obs[batch_idx]
      reward = self.reward[batch_idx]
      action = self.action[batch_idx]
      next_obs = self.next_obs[batch_idx]
      terminal = self.terminal[batch_idx]
      return obs, action, reward, next_obs, terminal
  
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 2 for calling the ReplayMemory obj's underlying member method code with example usage: obj.sample_batch(batch_size) and returns: obs,  action,  reward,  next_obs,  terminal