提交 c44cf068 编写于 作者: B barrierye

fix response op

上级 3d88f6c2
......@@ -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.
先完成此消息的编辑!
想要评论请 注册