tensorflow / 1.15.0 / contrib / util / ops_used_by_graph_def.html /

tf.contrib.util.ops_used_by_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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/util/ops_used_by_graph_def