class_docstr: Removes redundant axes from the observation, which are axes with a dimension of 1.
code: def get_filtered_observation_space(
      self, input_observation_space: ObservationSpace
  ) -> ObservationSpace:
      dummy_tensor = np.random.rand(
          *tuple(input_observation_space.shape)
      )
      input_observation_space.shape = dummy_tensor.squeeze(
          axis=self.axis
      ).shape
      return input_observation_space
  
file_path: coach/rl_coach/filters/observation/observation_squeeze_filter.py
imports: import numpy
  from rl_coach.core_types import ObservationType
  from rl_coach.filters.observation.observation_filter import ObservationFilter
  from rl_coach.spaces import ObservationSpace
label_desc: Use image node_id 4 for calling the ObservationSqueezeFilter obj's underlying member method code with example usage: obj.get_filtered_observation_space(input_observation_space) and returns: input_observation_space