未验证 提交 f4d267c2 编写于 作者: X xiaoxiaohehe001 提交者: GitHub

add_paddle_test (#49640)

上级 7c6f5f28
......@@ -1362,7 +1362,10 @@ void AnalysisPredictor::OptimizeInferenceProgram() {
// The config and argument take a lot of storage,
// when the predictor settings are complete, we release these stores.
config_.PartiallyRelease();
#if defined(PADDLE_WITH_TESTING)
fusion_statis_ = *argument_->fusion_statis_ptr();
#endif
#if defined(_WIN32)
argument_->PartiallyRelease();
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册