fix cpp infer (#1682)

This commit is contained in:
littletomatodonkey
2021-01-07 19:27:22 +08:00
committed by GitHub
parent a27bd4d5d1
commit 9336e34430
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ void Classifier::LoadModel(const std::string &model_dir) {
if (this->use_mkldnn_) {
config.EnableMKLDNN();
}
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_)
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
}
// false for zero copy tensor