提交 fd66c409 编写于 作者: littletomatodonkey's avatar littletomatodonkey

rm mkl

上级 51a8d233
......@@ -25,7 +25,7 @@ void DBDetector::LoadModel(const std::string &model_dir) {
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
} else {
config.DisableGpu();
config.EnableMKLDNN(); // 开启MKLDNN加速
// config.EnableMKLDNN(); // not sugesteed to use for now
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
}
......
......@@ -128,7 +128,7 @@ void CRNNRecognizer::LoadModel(const std::string &model_dir) {
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
} else {
config.DisableGpu();
config.EnableMKLDNN(); // 开启MKLDNN加速
// config.EnableMKLDNN(); // not sugesteed to use for now
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册