code: def get_tensor_schema_override(
      tensor: common_types.TensorType,
  ) -> Tuple[tf.Tensor, tf.Tensor]:
      """Lookup schema overrides for a `Tensor`  or `CompositeTensor`."""
      tensor = _get_tensor_values(tensor)
      overrides = _get_tensor_ranges(tensor.graph)
      min_max = overrides.get(
          tf_utils.hashable_tensor_or_op(tensor), None
      )
      if min_max is None:
          raise ValueError(
              "Requested tensor does not have recorded min/max values"
          )
      return min_max
  
imports: import collections
  import itertools
  from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Tuple, Union
  from absl import logging
  import tensorflow
  from tensorflow_transform import common
  from tensorflow_transform import common_types
  from tensorflow_transform import graph_context
  from tensorflow_transform import tf2_utils
  from tensorflow_transform import tf_utils
  from tensorflow_transform.saved import saved_transform_io_v2
  from tensorflow_transform.tf_metadata import schema_utils
  from tfx_bsl.tfxio import tensor_representation_util
  from google.protobuf import any_pb2
  from tensorflow.python.eager import function
  from tensorflow.python.framework import ops
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 11 for calling a global function with example usage: get_tensor_schema_override(tensor) and returns: min_max