提交 4ef34916 编写于 作者: D dzhwinter

enhanced print message. test=develop

上级 ce0394bc
...@@ -408,7 +408,8 @@ void GraphView::Build(ir::Graph* g) { ...@@ -408,7 +408,8 @@ void GraphView::Build(ir::Graph* g) {
if (in->IsVar() && in->Var() != nullptr) dup_nodes_.emplace(in->Name()); if (in->IsVar() && in->Var() != nullptr) dup_nodes_.emplace(in->Name());
} }
for (auto& out : node->outputs) { for (auto& out : node->outputs) {
if (in->IsVar() && in->Var() != nullptr) dup_nodes_.emplace(in->Name()); if (out->IsVar() && out->Var() != nullptr)
dup_nodes_.emplace(out->Name());
} }
}; };
for (auto& node : g->Nodes()) { for (auto& node : g->Nodes()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册