class_docstr: Converts a floating point observation into an unsigned int 8 bit observation. This is
  mostly useful for reducing memory consumption and is usually used for image observations. The filter will first
  spread the observation values over the range 0-255 and then discretize them into integer values.
code: def validate_input_observation_space(
      self, input_observation_space: ObservationSpace
  ):
      if np.all(
          input_observation_space.low != self.input_low
      ) or np.all(input_observation_space.high != self.input_high):
          raise ValueError(
              "The observation space values range don't match the configuration of the filter."
              "The configuration is: low = {}, high = {}. The actual values are: low = {}, high = {}".format(
                  self.input_low,
                  self.input_high,
                  input_observation_space.low,
                  input_observation_space.high,
              )
          )
  
file_path: coach/rl_coach/filters/observation/observation_to_uint8_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 2 for calling the ObservationToUInt8Filter obj's underlying member method code with example usage: obj.validate_input_observation_space(input_observation_space) without return types