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

Method HasEdge

tensorflow/compiler/jit/graphcycles/graphcycles.cc:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool GraphCycles::HasEdge(int32 x, int32 y) const {
151 return rep_->nodes_[x]->out.Contains(y);
152}
153
154void GraphCycles::RemoveEdge(int32 x, int32 y) {
155 rep_->nodes_[x]->out.Erase(y);

Callers 4

PrintGCEdgesFunction · 0.45
CheckEdgesFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls 1

ContainsMethod · 0.45

Tested by 4

PrintGCEdgesFunction · 0.36
CheckEdgesFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36