未验证 提交 507d68a1 编写于 作者: C cc 提交者: GitHub

Only arm add int8 place, test=develop (#3619)

上级 10f3dfc3
......@@ -327,8 +327,10 @@ void Predictor::Build(const cpp::ProgramDesc &desc,
}
}
if (is_quantized_model) {
#ifdef LITE_WITH_ARM
inner_places.insert(inner_places.begin(),
Place{TARGET(kARM), PRECISION(kInt8)});
#endif
}
Program program(desc, scope_, inner_places);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册