Save the date! Google I/O returns May 18-20 Register now

tf.contrib.util.ops_used_by_graph_def

View source on GitHub

Collect the list of ops used by a graph.

Does not validate that the ops are all registered.

graph_def A GraphDef proto, as from graph.as_graph_def().

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