class_docstr: Wrap a gym-retro environment and make it use discrete
  actions for the Sonic game.
class_docstr_tok: ["Wrap","a","gym-retro","environment","and","make","it","use","discrete","actions","for","the","Sonic","game","."]
code: def action(self, a):  # pylint: disable=W0221
      return self._actions[a].copy()
  
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 SonicDiscretizer obj's underlying member method code with example usage: obj.action(a) and returns: self