def track_asset_analyzer_output(eager_asset_path: ops.EagerTensor,
                                graph_tensor: tf.Tensor):
  """Track `graph_tensor` representing analyzer output written to `eager_asset_path`."""
  graph = ops.get_default_graph()
  graph.add_to_collection(
      _ASSET_REPLACEMENTS,
      (hashable_tensor_or_op(graph_tensor), eager_asset_path))
Track `graph_tensor` representing analyzer output written to `eager_asset_path`.
tensorflow_transform/tf_utils.py