docstr: Do no-op action for a number of steps in [1, noop_max].
docstr_tok: ["Do","no-op","action","for","a","number","of","steps","in","[","1",",","noop_max","]","."]
code: def reset(self, **kwargs):
      """Do no-op action for a number of steps in [1, noop_max]."""
      self.env.reset(**kwargs)
      if self.override_num_noops is not None:
          noops = self.override_num_noops
      else:
          noops = self.unwrapped.np_random.randint(
              1, self.noop_max + 1
          )  # pylint: disable=E1101
      assert noops > 0
      obs = None
      for _ in range(noops):
          obs, _, done, info = self.env.step(self.noop_action)
          if done or info.get("needs_reset", False):
              obs = self.env.reset(**kwargs)
      return obs
  
imports: from collections import deque
  import gym
  import numpy
  from gym import spaces
  import chainerrl
label_desc: Use image node_id 2 for calling the NoopResetEnv obj's underlying member method code with example usage: obj.reset() and returns: obs