NoDictObservationWrapper¶
- class maze.core.wrappers.no_dict_observation_wrapper.NoDictObservationWrapper(env)¶
Wraps observations by replacing the dictionary observation space with the sole contained sub-space. This wrapper is for example required when working with external frameworks not supporting dictionary observation spaces.
- clone_from(env: NoDictObservationWrapper) None¶
(overrides
SimulatedEnvMixin)implementation of
SimulatedEnvMixin.
- observation(observation: Any) Any¶
(overrides
ObservationWrapper)Implementation of
ObservationWrapperinterface.
- property observation_space: gymnasium.spaces.Space¶
(overrides
StructuredEnvSpacesMixin)The currently active gym observation space.
- property observation_spaces_dict: Dict[int | str, gymnasium.spaces.Dict]¶
(overrides
StructuredEnvSpacesMixin)A dictionary of gym observation spaces, with policy IDs as keys.