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

Method add_iedge

tensorflow/core/graph/template_base.h:445–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443 }
444
445 void add_iedge(Graph* g, Node* dst, int dst_input,
446 const Edge* ori_edge, bool remove = true) {
447 g->AddEdge(ori_edge->src(), ori_edge->src_output(), dst, dst_input);
448 if (remove) {
449 g->RemoveEdge(ori_edge);
450 }
451 }
452
453 void add_oedges(Graph* g, Node* src, int src_output,
454 std::vector<const Edge*>& ori_edges) {

Callers

nothing calls this directly

Calls 4

AddEdgeMethod · 0.45
srcMethod · 0.45
src_outputMethod · 0.45
RemoveEdgeMethod · 0.45

Tested by

no test coverage detected