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

Function FindNodeByName

tensorflow/compiler/jit/node_matchers.cc:530–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528} // namespace matchers
529
530Node* FindNodeByName(Graph* g, absl::string_view name) {
531 for (Node* n : g->nodes()) {
532 if (n->name() == name) {
533 return n;
534 }
535 }
536
537 return nullptr;
538}
539} // namespace testing
540
541void PrintTo(const Node* n, ::std::ostream* os) { *os << SummarizeNode(*n); }

Callers 5

TESTFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
TEST_FFunction · 0.70
TESTFunction · 0.70

Calls 2

nameMethod · 0.65
nodesMethod · 0.45

Tested by 5

TESTFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.56
TEST_FFunction · 0.56
TESTFunction · 0.56