class_docstr: Ensures common frames are only stored once to optimize memory use.
  
  To further reduce the memory use, it is optionally to turn on lz4 to compress the observations.
  
  Note:
      This object should only be converted to numpy array just before forward pass.
class_docstr_tok: ["Ensures","common","frames","are","only","stored","once","to","optimize","memory","use",".","To","further","reduce","the","memory","use",",","it","is","optionally","to","turn","on","lz4","to","compress","the","observations",".","Note",":","This","object","should","only","be","converted","to","numpy","array","just","before","forward","pass","."]
docstr: Checks that the current frames are equal to the other object.
docstr_tok: ["Checks","that","the","current","frames","are","equal","to","the","other","object","."]
code: def __eq__(self, other):
      """Checks that the current frames are equal to the other object."""
      return self.__array__() == other
  
file_path: gym/gym/wrappers/frame_stack.py
imports: from collections import deque
  from typing import Union
  import numpy
  import gym
  from gym.error import DependencyNotInstalled
  from gym.spaces import Box
label_desc: Use image node_id 5 for calling the LazyFrames obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown