From 3efc0a95c81762e5fac051df66e25c84abf7b800 Mon Sep 17 00:00:00 2001 From: hjchen2 Date: Fri, 29 Mar 2019 15:31:25 +0800 Subject: [PATCH] Fix data type in dequant unit test --- test/operators/test_dequantize_op.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/operators/test_dequantize_op.cpp b/test/operators/test_dequantize_op.cpp index 41390d74a9..981439c66f 100644 --- a/test/operators/test_dequantize_op.cpp +++ b/test/operators/test_dequantize_op.cpp @@ -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* x = input->data(); float* y = output->mutable_data(); size_t size = output->numel(); for (size_t i = 0; i < size; ++i) { -- GitLab