docstr: LazyFrames class from baselines.
  
  Openai baselines use this class for FrameStack environment
  wrapper. It is used for testing garage.envs.wrappers.AtariEnv.
  garge.envs.wrapper.AtariEnv is used when algorithms are trained
  using baselines wrappers, e.g. during benchmarking.
docstr_tok: ["LazyFrames","class","from","baselines",".","Openai","baselines","use","this","class","for","FrameStack","environment","wrapper",".","It","is","used","for","testing","garage.envs.wrappers.AtariEnv",".","garge.envs.wrapper.AtariEnv","is","used","when","algorithms","are","trained","using","baselines","wrappers",",","e.g",".","during","benchmarking","."]
code: def __init__(self, frames):
      """
      LazyFrames class from baselines.
  
      Openai baselines use this class for FrameStack environment
      wrapper. It is used for testing garage.envs.wrappers.AtariEnv.
      garge.envs.wrapper.AtariEnv is used when algorithms are trained
      using baselines wrappers, e.g. during benchmarking.
      """
      self._frames = frames
      self._out = None
  
file_path: garage/tests/fixtures/envs/dummy/dummy_discrete_pixel_env_baselines.py
imports: import gym
  import numpy
  from tests.fixtures.envs.dummy import DummyEnv
label_desc: Use image node_id 1 to create a new LazyFrames object from inherited base classes: object with example: obj = LazyFrames(frames)