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

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

上级 0ca19802
......@@ -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.
先完成此消息的编辑!
想要评论请 注册