class_docstr: A step-skip-wrapper providing functionality for skipping n_steps environment steps.
  Options for skipping are: (noop: apply the noop action, sticky: apply the last action again).
  
  :param env: Environment to wrap.
  :param n_steps: Total number of steps that should be taken (e.g., n_steps = 1 + n_skip_steps).
  :param skip_mode: Skipping action selection mode (noop, sticky).
class_docstr_tok: ["A","step-skip-wrapper","providing","functionality","for","skipping","n_steps","environment","steps",".","Options","for","skipping","are",":","(","noop",":","apply","the","noop","action",",","sticky",":","apply","the","last","action","again",")",".",":","param","env",":","Environment","to","wrap",".",":","param","n_steps",":","Total","number","of","steps","that","should","be","taken","(","e.g.",",","n_steps","=","1","+","n_skip_steps",")",".",":","param","skip_mode",":","Skipping","action","selection","mode","(","noop",",","sticky",")","."]
code: def __init__(
      self,
      env: Union[StructuredEnvSpacesMixin, MazeEnv],
      n_steps: int,
      skip_mode: str,
  ):
      super().__init__(env)
  
      # initialize observation skipping
      self.n_steps = n_steps
      self.skip_mode = skip_mode
      assert (
          self.skip_mode in self.SKIPPING_MODES
      ), f"Skips mode ({self.skip_mode}) has to be one of the following {self.SKIPPING_MODES}"
  
      # init action recording
      self._step_actions = dict()
      self._steps_done = 0
  
file_path: maze/maze/core/wrappers/step_skip_wrapper.py
imports: import copy
  from typing import Any, Dict, Tuple, Union, Optional
  from maze.core.annotations import override
  from maze.core.env.action_conversion import ActionType
  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.observation_conversion import ObservationType
  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.wrappers.wrapper import Wrapper, EnvType
label_desc: Use image node_id 1 to create a new StepSkipWrapper object from inherited base classes: Wrapper with example: obj = StepSkipWrapper(env, n_steps, skip_mode)