class_docstr: Defines an abstract observation preprocessor function.
  
  Attributes:
      shape (List[int]): Shape of the preprocessed output.
docstr: Returns the preprocessed observation.
docstr_tok: ["Returns","the","preprocessed","observation","."]
code: def transform(self, observation: TensorType) -> np.ndarray:
      """Returns the preprocessed observation."""
      raise NotImplementedError
  
imports: from collections import OrderedDict
  import logging
  import numpy
  import gymnasium
  from typing import Any, List
  from ray.rllib.utils.annotations import override, PublicAPI, DeveloperAPI
  from ray.rllib.utils.spaces.repeated import Repeated
  from ray.rllib.utils.typing import TensorType
  from ray.rllib.utils.images import resize
  from ray.rllib.utils.spaces.space_utils import convert_element_to_space_type
label_desc: Use image node_id 3 for calling the Preprocessor obj's underlying member method code with example usage: obj.transform(observation) without return types