TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.graph_editor.get_tensors

View source on GitHub

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

tf.contrib.graph_editor.get_tensors(graph)

Args:

Returns:

A list of tf.Tensor.

Raises:

  • TypeError: if graph is not a tf.Graph.