code: def __init__(self, window_length, ignore_episode_boundaries=False):
      self.window_length = window_length
      self.ignore_episode_boundaries = ignore_episode_boundaries
  
      self.recent_observations = deque(maxlen=window_length)
      self.recent_terminals = deque(maxlen=window_length)
  
imports: from __future__ import absolute_import
  from collections import deque, namedtuple
  import warnings
  import random
  import numpy
label_desc: Use image node_id 1 to create a new Memory object from inherited base classes: object with example: obj = Memory(window_length, ignore_episode_boundaries)