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

Method SkipNode

tensorflow/core/grappler/graph_analyzer/subgraph.cc:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void SubgraphIterator::SkipNode() {
166 if (AtEnd()) {
167 return;
168 }
169 for (auto next = link_map_it_; next != (*id_it_)->links().end(); ++next) {
170 link_map_it_ = next;
171 }
172 link_idx_ = link_map_it_->second.size() - 1;
173}
174
175bool SubgraphIterator::PropagateNext() {
176 // Loops are used to skip over the empty entries.

Callers 1

TESTFunction · 0.80

Calls 2

endMethod · 0.45
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64