def _get_fetches(
      self, feeds: Iterable[tf.Tensor]) -> Dict[str, common_types.TensorType]:
    """Returns set of tensors that can be fetched when `feeds` is supplied."""
    result = {}
    for name, output in self._structured_outputs.items():
      extra_sources = self._output_to_inputs_map[name].difference(feeds)
      # If output does not depend on an input placeholder that is not being fed,
      # add it to fetches.
      if not extra_sources.difference(self._func_graph.internal_captures):
        result[name] = output
    return result
Returns set of tensors that can be fetched when `feeds` is supplied.
tensorflow_transform/saved/saved_transform_io_v2.py