MCPcopy Create free account
hub / github.com/alibaba/nann / ops_used_by_graph_def

Function ops_used_by_graph_def

tensorflow/tensorflow/python/framework/meta_graph.py:138–171  ·  view source on GitHub ↗

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.

(graph_def)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 2

mark_op_as_usedFunction · 0.85
popMethod · 0.45

Tested by

no test coverage detected