提交 0a68279c 编写于 作者: Z zhaoying 提交者: jackzhang235

(fix bug): when model is quanted, arm place is append to valid places;

           remove current logic for mlu
上级 3a98dabd
...@@ -316,9 +316,11 @@ void Predictor::Build(const cpp::ProgramDesc &desc, ...@@ -316,9 +316,11 @@ void Predictor::Build(const cpp::ProgramDesc &desc,
} }
} }
} }
#ifndef LITE_WITH_MLU
if (is_quantized_model) { if (is_quantized_model) {
inner_places.emplace_back(Place{TARGET(kARM), PRECISION(kInt8)}); inner_places.emplace_back(Place{TARGET(kARM), PRECISION(kInt8)});
} }
#endif
Program program(desc, scope_, inner_places); Program program(desc, scope_, inner_places);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册