class_docstr: Removes redundant axes from the observation, which are axes with a dimension of 1.
docstr: :param axis: Specifies which axis to remove. If set to None, all the axes of size 1 will be removed.
code: def __init__(self, axis: int = None):
      """
      :param axis: Specifies which axis to remove. If set to None, all the axes of size 1 will be removed.
      """
      super().__init__()
      self.axis = axis
  
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 1 to create a new ObservationSqueezeFilter object from inherited base classes: ObservationFilter with example: obj = ObservationSqueezeFilter(axis)