未验证 提交 21fab90d 编写于 作者: W Wangzheee 提交者: GitHub

test=infer-coverage (#46924)

上级 4681f13b
......@@ -379,7 +379,7 @@ void run(paddle_infer::Predictor* predictor, std::vector<float>* out_data) {
// max_seq_len represents the max sentence length of all the sentences, only
// length of
// input i4 is useful, data means nothing.
int32_t i4[max_seq_len] = {0};
float i4[max_seq_len] = {0};
auto input_names = predictor->GetInputNames();
// first input
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册