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

Method DebugString

tensorflow/core/graph/graph.cc:131–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131string Node::DebugString() const {
132 string ret = strings::StrCat("{name:'", name(), "' id:", id_);
133 if (IsSource()) {
134 strings::StrAppend(&ret, " source}");
135 } else if (IsSink()) {
136 strings::StrAppend(&ret, " sink}");
137 } else {
138 strings::StrAppend(&ret, " op device:");
139 strings::StrAppend(&ret, "{", assigned_device_name(), "}");
140 strings::StrAppend(&ret, " def:{", SummarizeNode(*this), "}}");
141 }
142 return ret;
143}
144
145Node::Node()
146 : id_(-1),

Callers 15

EvaluateModelFunction · 0.45
EvaluateModelFunction · 0.45
GetIntAttrFunction · 0.45
CheckInputsCountFunction · 0.45
ConvertIdentityOperatorFunction · 0.45
ConvertConcatOperatorFunction · 0.45
ConvertSvdfOperatorFunction · 0.45
ConvertPackOperatorFunction · 0.45
TESTFunction · 0.45
string_ops.ccFile · 0.45

Calls 9

nameFunction · 0.85
IsSourceFunction · 0.85
IsSinkFunction · 0.85
PrintfFunction · 0.85
c_strMethod · 0.80
nameMethod · 0.65
StrCatFunction · 0.50
StrAppendFunction · 0.50
SummarizeNodeFunction · 0.50

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TestToFromProtoMethod · 0.36
TEST_FFunction · 0.36
DescribeToMethod · 0.36
DescribeNegationToMethod · 0.36
ValidateFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
StringifyMethod · 0.36
TEST_FFunction · 0.36