未验证 提交 8cd1c102 编写于 作者: L lidanqing 提交者: GitHub

Enable GRU infer model running CAPI (#28313)

* enable infer model running CAPI

* output size should bigger than 0
上级 1c385e26
...@@ -190,7 +190,7 @@ std::vector<double> Lexical_Test( ...@@ -190,7 +190,7 @@ std::vector<double> Lexical_Test(
// return acc_res; // return acc_res;
} else { } else {
EXPECT_GT(outputs->size(), 0UL); EXPECT_GT(outputs->size(), 0UL);
EXPECT_EQ(outputs[0].size(), 1UL); EXPECT_GT(outputs[0].size(), 0UL);
LOG(INFO) << "No accuracy result. To get accuracy result provide a model " LOG(INFO) << "No accuracy result. To get accuracy result provide a model "
"with accuracy layers in it and use --with_accuracy_layer " "with accuracy layers in it and use --with_accuracy_layer "
"option."; "option.";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册