def _extract_true_sparse_annotations(
    graph: tf.compat.v1.Graph) -> List[tf.Tensor]:
  """Extracts true sparse annotations from the graph."""
  return graph.get_collection(_ANNOTATED_TRUELY_SPARSE_TENSORS)
Extracts true sparse annotations from the graph.
tensorflow_transform/schema_inference.py