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

Method AncestorStateToString

tensorflow/compiler/tf2xla/functionalize_cond.cc:270–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270string StateMap::AncestorStateToString(const Node* node) const {
271 if (auto id = LookupAncestorId(node)) {
272 return absl::StrCat(
273 "{",
274 absl::StrJoin(*id, ",",
275 [](string* output, const AncestorNode& ancestor) {
276 absl::StrAppend(output,
277 ancestor.output_tensor.node->name(),
278 ":", ancestor.output_tensor.index);
279 }),
280 "}");
281 }
282 return "{}";
283}
284
285FunctionalizeCond::FunctionalizeCond(Graph* graph,
286 FunctionLibraryDefinition* library)

Callers 2

DetermineStatesMethod · 0.80

Calls 3

nameMethod · 0.65
StrCatFunction · 0.50
StrAppendFunction · 0.50

Tested by

no test coverage detected