tf.contrib.graph_editor.get_tensors()

tf.contrib.graph_editor.get_tensors(graph)

get all the tensors which are input or output of an op in the graph.

Args:
  • graph: a tf.Graph.
Returns:

A list of tf.Tensor.

Raises:
  • TypeError: if graph is not a tf.Graph.
doc_TensorFlow
2016-10-14 13:05:00
Comments
Leave a Comment

Please login to continue.