TransposePreProcessor¶
- class maze.core.wrappers.observation_preprocessing.preprocessors.transpose.TransposePreProcessor(observation_space: gymnasium.spaces.Box, axes: Sequence[int])¶
An array transposition pre-processor.
- Parameters:
observation_space – The observation space to pre-process.
axes – The num ordering of the axes of the input array.
- process(observation: numpy.ndarray) numpy.ndarray¶
(overrides
PreProcessor)implementation of
PreProcessorinterface
- processed_shape() Tuple[int, ...]¶
(overrides
PreProcessor)implementation of
PreProcessorinterface
- processed_space() gymnasium.spaces.Box¶
(overrides
PreProcessor)implementation of
PreProcessorinterface