提交 3efc0a95 编写于 作者: H hjchen2

Fix data type in dequant unit test

上级 294e346f
......@@ -19,7 +19,7 @@ limitations under the License. */
namespace paddle_mobile {
void dequantize(const Tensor* input, const float scale, Tensor* output) {
const int32_t* x = input->data<const int32_t>();
const int32_t* x = input->data<int32_t>();
float* y = output->mutable_data<float>();
size_t size = output->numel();
for (size_t i = 0; i < size; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册