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

Method NextIfSamePort

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

Source from the content-addressed store, hash-verified

144}
145
146bool SubgraphIterator::NextIfSamePort() {
147 if (AtEnd()) {
148 return false;
149 }
150 if (link_idx_ + 1 < link_map_it_->second.size()) {
151 ++link_idx_;
152 return true;
153 } else {
154 return false;
155 }
156}
157
158void SubgraphIterator::SkipPort() {
159 if (AtEnd()) {

Callers 2

TESTFunction · 0.80
HasInvalidMultiInputsMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64