deepr.utils.get_feedable_tensors

deepr.utils.get_feedable_tensors(graph, names)[source]

Retrieve feed tensors from graph.

Parameters:
  • graph (tf.Graph) – A Tensorflow Graph

  • names (List[str]) – List of operations or tensor names.

Returns:

Mapping of names to tf.Tensor

Return type:

Dict[str, tf.Tensor]