未验证 提交 f7034613 编写于 作者: W wenbin 提交者: GitHub

refix if-else logic for inference: missing if (#33531)

上级 a43e1fac
......@@ -303,8 +303,10 @@ static void DisablePrepareDataOpt(
disable_opt || pre_disable_opt);
}
// disable prepare data if unfriendly op is found
if (!disable_opt) {
disable_opt = IsPrepareDataOptTargetOp(op);
}
}
}
bool AnalysisPredictor::PrepareExecutor() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册