class_docstr: A wrapper skipping the first few steps by taking random actions.
  This is useful for skipping irrelevant initial parts of a trajectory or for introducing randomness in the training
  process.
  
  :param env: Environment/wrapper to wrap.
  :param min_skip_steps: Minimum number of steps to skip.
  :param max_skip_steps: Maximum number of steps to skip.
class_docstr_tok: ["A","wrapper","skipping","the","first","few","steps","by","taking","random","actions",".","This","is","useful","for","skipping","irrelevant","initial","parts","of","a","trajectory","or","for","introducing","randomness","in","the","training","process",".",":","param","env",":","Environment\/wrapper","to","wrap",".",":","param","min_skip_steps",":","Minimum","number","of","steps","to","skip",".",":","param","max_skip_steps",":","Maximum","number","of","steps","to","skip","."]
docstr: Override BaseEnv.reset to reset the step count.
          
docstr_tok: ["Override","BaseEnv.reset","to","reset","the","step","count","."]
code: def reset(self) -> Any:
      """Override BaseEnv.reset to reset the step count."""
  
      # sample number of steps to skip and reset env
      skip_steps = self.wrapper_rng.randint(
          self.min_skip_steps, self.max_skip_steps + 1
      )
      obs = self.env.reset()
  
      # skip steps
      for _ in range(skip_steps):
          action = self.action_space.sample()
          obs, rew, done, info = self.env.step(action)
          assert not done, (
              "Your environment was done during random resetting. This should not happen! "
              "Make sure you set a valid number of skipping steps."
          )
  
      return obs
  
file_path: maze/maze/core/wrappers/random_reset_wrapper.py
imports: from typing import Any, Union, Optional, Dict, Tuple
  import numpy
  from maze.core.annotations import override
  from maze.core.env.base_env import BaseEnv
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.maze_state import MazeStateType
  from maze.core.env.simulated_env_mixin import SimulatedEnvMixin
  from maze.core.env.structured_env import StructuredEnv
  from maze.core.env.structured_env_spaces_mixin import StructuredEnvSpacesMixin
  from maze.core.utils.seeding import MazeSeeding
  from maze.core.wrappers.wrapper import Wrapper, EnvType
label_desc: Use image node_id 3 for calling the RandomResetWrapper obj's underlying member method code with example usage: obj.reset() and returns: obs