code: def __init__(self, capacity=None):
      self.current_episode = collections.defaultdict(list)
      self.episodic_memory = RandomAccessQueue()
      self.memory = RandomAccessQueue()
      self.capacity = capacity
  
file_path: pfrl/pfrl/replay_buffers/episodic.py
imports: import collections
  import pickle
  from typing import Optional
  from pfrl.collections.random_access_queue import RandomAccessQueue
  from pfrl.replay_buffer import AbstractEpisodicReplayBuffer, random_subseq
label_desc: Use image node_id 1 to create a new EpisodicReplayBuffer object from inherited base classes: AbstractEpisodicReplayBuffer with example: obj = EpisodicReplayBuffer(capacity)