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

Function SummarizeGraphDef

tensorflow/core/framework/graph_def_util.cc:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace tensorflow {
36
37string SummarizeGraphDef(const GraphDef& graph_def) {
38 string ret;
39 strings::StrAppend(
40 &ret, "versions = ", ProtoShortDebugString(graph_def.versions()), ";\n");
41 for (const NodeDef& node : graph_def.node()) {
42 strings::StrAppend(&ret, SummarizeNodeDef(node), ";\n");
43 }
44 return ret;
45}
46
47Status ValidateExternalGraphDefSyntax(const GraphDef& graph_def) {
48 for (const NodeDef& node : graph_def.node()) {

Callers 1

RunPassAndCompareFunction · 0.50

Calls 4

SummarizeNodeDefFunction · 0.85
StrAppendFunction · 0.50
versionsMethod · 0.45
nodeMethod · 0.45

Tested by 1

RunPassAndCompareFunction · 0.40