Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hzfan committed Dec 12, 2021
1 parent 8f27523 commit c5c3ba4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/relay/ir/indexed_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ IndexedGraph<Expr> CreateIndexedGraph(const Expr& expr) {
auto post_visit = [&](const LetNode* op) {
this->VisitExpr(op->body);
if (let != op) {
Expr expr = GetRef<Expr>(op);
visit_counter_[op]++;
auto node = std::make_shared<IndexedGraph<Expr>::Node>(expr, index_++);
graph_.node_map_[expr] = node;
graph_.topological_order_.push_back(node);
}
};
ExpandANormalForm(let, pre_visit, post_visit);
Expand Down

0 comments on commit c5c3ba4

Please sign in to comment.