Merge pull request #13997 from wojtuss/wojtuss/do-not-enable-mkldnn-twice

do not enable MKL-DNN twice
ce
Tao Luo 7 years ago committed by GitHub
commit a4b48f70c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,10 +77,6 @@ bool AnalysisPredictor::Init(
inference_program_ = program;
}
if (config_._use_mkldnn) {
executor_->EnableMKLDNN(*inference_program_);
}
executor_->Prepare(scope_.get(), *inference_program_, 0,
config_.use_feed_fetch_ops);

Loading…
Cancel
Save