TransposePreProcessor¶
-
class
maze.core.wrappers.observation_preprocessing.preprocessors.transpose.
TransposePreProcessor
(observation_space: gym.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
PreProcessor
interface
-
processed_shape
() → Tuple[int, …]¶ (overrides
PreProcessor
)implementation of
PreProcessor
interface
-
processed_space
() → gym.spaces.Box¶ (overrides
PreProcessor
)implementation of
PreProcessor
interface