(self, gym_env, observation_excluded=())
Initializes the wrapper.
Initializes the wrapper.
Initializes the wrapper .
def __init__(self, gym_env, observation_excluded=()):
    """Initializes the wrapper."""
    self.observation_excluded = observation_excluded
    self._gym_env = gym_env
    self.observation_space = self._flatten_observation_spaces(
        self._gym_env.observation_space)
    self.action_space = self._gym_env.action_space
def __init__ ( self , gym_env , observation_excluded = ( ) ) : self . observation_excluded = observation_excluded self . _gym_env = gym_env self . observation_space = self . _flatten_observation_spaces ( self . _gym_env . observation_space ) self . action_space = self . _gym_env . action_space