fix analysis_predictor ci, test=release/1.6 (#20141)

revert-20712-fix_depthwise_conv
石晓伟 6 years ago committed by GitHub
parent 3a0f93b3f9
commit 2c28e3283a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,9 +71,6 @@ TEST(AnalysisPredictor, analysis_on) {
auto _predictor = CreatePaddlePredictor<AnalysisConfig>(config);
auto* predictor = static_cast<AnalysisPredictor*>(_predictor.get());
if (predictor->inference_program_->Version() == 0) {
ASSERT_FALSE(predictor->CheckOperatorCompatible());
}
ASSERT_TRUE(predictor->scope_);
ASSERT_TRUE(predictor->sub_scope_);
ASSERT_EQ(predictor->scope_->parent(), nullptr);

Loading…
Cancel
Save