docstr: Warp frames to 84x84 as done in the Nature paper and later work.
  
  :param env: (Gym Environment) the environment
docstr_tok: ["Warp","frames","to","84x84","as","done","in","the","Nature","paper","and","later","work",".",":","param","env",":","(","Gym","Environment",")","the","environment"]
code: def __init__(self, env):
      """
      Warp frames to 84x84 as done in the Nature paper and later work.
  
      :param env: (Gym Environment) the environment
      """
      gym.ObservationWrapper.__init__(self, env)
      self.width = 84
      self.height = 84
      self.observation_space = spaces.Box(
          low=0,
          high=255,
          shape=(self.height, self.width, 1),
          dtype=env.observation_space.dtype,
      )
  
imports: from collections import deque
  import numpy
  import gym
  from gym import spaces
  import cv2
label_desc: Use image node_id 1 to create a new WarpFrame object from inherited base classes: gym with example: obj = WarpFrame(env)