Enable GRU infer model running CAPI (#28313)

* enable infer model running CAPI

* output size should bigger than 0
revert-28284-dev/pybind_version
lidanqing 5 years ago committed by GitHub
parent 1c385e26f9
commit 8cd1c102d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -190,7 +190,7 @@ std::vector<double> Lexical_Test(
// return acc_res;
} else {
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 "
"with accuracy layers in it and use --with_accuracy_layer "
"option.";

Loading…
Cancel
Save