class_docstr: Fire reset wrapper for gym.Env.
  
  Take action "fire" on reset.
  
  Args:
      env (gym.Env): The environment to be wrapped.
class_docstr_tok: ["Fire","reset","wrapper","for","gym.Env",".","Take","action","``","fire","''","on","reset",".","Args",":","env","(","gym.Env",")",":","The","environment","to","be","wrapped","."]
docstr: gym.Env reset function.
  
  Args:
      kwargs (dict): extra arguments passed to gym.Env.reset()
  
  Returns:
      np.ndarray: next observation.
docstr_tok: ["gym.Env","reset","function",".","Args",":","kwargs","(","dict",")",":","extra","arguments","passed","to","gym.Env.reset","(",")","Returns",":","np.ndarray",":","next","observation","."]
code: def reset(self, **kwargs):
      """gym.Env reset function.
  
      Args:
          kwargs (dict): extra arguments passed to gym.Env.reset()
  
      Returns:
          np.ndarray: next observation.
      """
      self.env.reset(**kwargs)
      obs, _, done, _ = self.env.step(1)
      if done:
          self.env.reset(**kwargs)
      obs, _, done, _ = self.env.step(2)
      if done:
          self.env.reset(**kwargs)
      return obs
  
imports: import gym
label_desc: Use image node_id 3 for calling the FireReset obj's underlying member method code with example usage: obj.reset() and returns: obs