提交 e2bd40ca 编写于 作者: S superjomn

update

test=develop
上级 049fcbe1
...@@ -34,7 +34,9 @@ contrib::AnakinConfig GetConfig() { ...@@ -34,7 +34,9 @@ contrib::AnakinConfig GetConfig() {
TEST(inference, anakin) { TEST(inference, anakin) {
auto config = GetConfig(); auto config = GetConfig();
auto predictor = CreatePaddlePredictor<contrib::AnakinConfig>(config); auto predictor =
CreatePaddlePredictor<contrib::AnakinConfig,
contrib::PaddleEngineKind::kAnakin>(config);
float data[1 * 3 * 224 * 224] = {1.0f}; float data[1 * 3 * 224 * 224] = {1.0f};
PaddleTensor tensor; PaddleTensor tensor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册