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

Function FindEdge

tensorflow/core/graph/graph.cc:587–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585
586namespace {
587const Edge* FindEdge(const Node* dst, int index) {
588 for (const Edge* e : dst->in_edges()) {
589 if (e->dst_input() == index) return e;
590 }
591 return nullptr;
592}
593} // namespace
594
595Status Graph::UpdateEdge(Node* new_src, int new_src_index, Node* dst,

Callers 1

UpdateEdgeMethod · 0.85

Calls 1

dst_inputMethod · 0.45

Tested by

no test coverage detected