未验证 提交 dccadbe6 编写于 作者: Y ysh329 提交者: GitHub

[PASS][BugFix][cherry-pick] fix remove tf redundant op pass. test=develop (#4158) (#4166)

* fix remove tf redundant op pass. test=develop (#4158)

* test=develop
上级 e0ca3107
......@@ -184,6 +184,11 @@ void RemoveTFRedundantOpsPass::RemoveSqueeze2Reshape2Pattern(
}
}
if (nullptr == reshape2_out_node) {
VLOG(5) << "reshape2_out_node doesn't found, skip now";
return;
}
// find next inst node of reshape2
VLOG(5) << "reshape2_out_node->outlinks.size():"
<< reshape2_out_node->outlinks.size()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册