code: def observation(self, frame):
      height, width, _ = self.observation_space.shape
      frame = cv2.resize(
          frame, (width, height), interpolation=cv2.INTER_AREA
      )
      if frame.ndim == 2:
          frame = frame[:, :, None]
      return frame
  
imports: from collections import deque
  import cv2
  from .atari_wrappers import WarpFrame, ClipRewardEnv, FrameStack, ScaledFloatFrame
  from .wrappers import TimeLimit
  import numpy
  import gym
label_desc: Use image node_id 2 for calling the Downsample obj's underlying member method code with example usage: obj.observation(frame) and returns: frame