UnSqueezePreProcessor

class maze.core.wrappers.observation_preprocessing.preprocessors.unsqueeze.UnSqueezePreProcessor(observation_space: gym.spaces.Box, dim: int)

An un-squeeze pre-processor.

Parameters
  • observation_space – The observation space to pre-process.

  • dim – Index where to add an additional dimension.

process(observation: numpy.ndarray)numpy.ndarray

implementation of PreProcessor interface

processed_shape() → Tuple[int, ]

implementation of PreProcessor interface

processed_space() → gym.spaces.Box

implementation of PreProcessor interface