def _exported_as_v1(self) -> bool:
    """A boolean.

    Indicates whether the SavedModel was exported using TF 1.x or TF 2.x APIs.
    """
    if self._exported_as_v1_value is None:
      self._exported_as_v1_value = saved_transform_io.exported_as_v1(
          self.transform_savedmodel_dir)
    return self._exported_as_v1_value
A boolean.

    Indicates whether the SavedModel was exported using TF 1.x or TF 2.x APIs.
    
tensorflow_transform/output_wrapper.py