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

Function SummarizeFunc

tensorflow/core/framework/attr_value_util.cc:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217string SummarizeFunc(const NameAttrList& func) {
218 std::vector<string> entries;
219 for (auto p : func.attr()) {
220 entries.push_back(
221 strings::StrCat(p.first, "=", SummarizeAttrValue(p.second)));
222 }
223 std::sort(entries.begin(), entries.end());
224 return strings::StrCat(func.name(), "[", absl::StrJoin(entries, ", "), "]");
225}
226
227} // namespace
228

Callers 1

SummarizeAttrValueFunction · 0.85

Calls 8

SummarizeAttrValueFunction · 0.85
sortFunction · 0.85
attrMethod · 0.80
nameMethod · 0.65
StrCatFunction · 0.50
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected