MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CanonicalizeGraph

Function CanonicalizeGraph

tensorflow/core/grappler/utils/canonicalizer.cc:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void CanonicalizeGraph(GraphDef* graph) {
50 for (int i = 0; i < graph->node_size(); ++i) {
51 CanonicalizeNode(graph->mutable_node(i));
52 }
53}
54
55void CompressConstants(GraphDef* graph) {
56 for (int i = 0; i < graph->node_size(); ++i) {

Callers 2

TESTFunction · 0.85
DedupComputationsMethod · 0.85

Calls 1

CanonicalizeNodeFunction · 0.85

Tested by 1

TESTFunction · 0.68