未验证 提交 3a28a149 编写于 作者: B barriery 提交者: GitHub

Merge pull request #519 from barrierye/fix-response-op

Fix response op
......@@ -124,7 +124,7 @@ int GeneralResponseOp::inference() {
} else {
FetchInst *fetch_p = output->mutable_insts(0);
for (int j = 0; j < cap; ++j) {
fetch_p->mutable_tensor_array(var_idx)->add_float_data(data_ptr[j]);
fetch_p->mutable_tensor_array(var_idx)->add_int64_data(data_ptr[j]);
}
}
var_idx++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册