NoDictObservationWrapper¶
-
class
maze.core.wrappers.no_dict_observation_wrapper.
NoDictObservationWrapper
(*args, **kwds)¶ 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: maze.core.wrappers.no_dict_observation_wrapper.NoDictObservationWrapper) → None¶ (overrides
SimulatedEnvMixin
)implementation of
SimulatedEnvMixin
.
-
observation
(observation: Any) → Any¶ (overrides
ObservationWrapper
)Implementation of
ObservationWrapper
interface.
-
property
observation_space
¶ (overrides
StructuredEnvSpacesMixin
)The currently active gym observation space.
-
property
observation_spaces_dict
¶ (overrides
StructuredEnvSpacesMixin
)A dictionary of gym observation spaces, with policy IDs as keys.
-