tf.contrib.util.ops_used_by_graph_def()

tf.contrib.util.ops_used_by_graph_def(graph_def)

Collect the list of ops used by a graph.

Does not validate that the ops are all registered.

Args:
  • graph_def: A GraphDef proto, as from graph.as_graph_def().
Returns:

A list of strings, each naming an op used by the graph.

doc_TensorFlow
2016-10-14 13:07:33
Comments
Leave a Comment

Please login to continue.