Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrendx authored and Trevor Morris committed Dec 4, 2020
1 parent 99cf26d commit 11bad51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnvm/src/core/graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ IndexedGraph::IndexedGraph(const Graph& g) {
// input entries
for (const auto& e : n->inputs) {
auto it = node2index_.find(e.node.get());
if (it == node2index_.end() || it->first != e.node.get()) continue;
CHECK(it != node2index_.end() && it->first == e.node.get());
input_entries_.emplace_back(NodeEntry{it->second, e.index, e.version});
}
inputs_rptr.push_back(input_entries_.size());
Expand Down

0 comments on commit 11bad51

Please sign in to comment.