diff --git a/paddle/fluid/lite/kernels/arm/mul_compute_test.cc b/paddle/fluid/lite/kernels/arm/mul_compute_test.cc index 9d4018084882492f21ba2fb5f835ae8c897e48d8..5e3d17ec93ae9d73028343b3d4dd1e77a0fe86f0 100644 --- a/paddle/fluid/lite/kernels/arm/mul_compute_test.cc +++ b/paddle/fluid/lite/kernels/arm/mul_compute_test.cc @@ -73,7 +73,7 @@ TEST(mul_arm, compare_test) { FillData(x_data, x.dims().production()); FillData(y_data, y.dims().production()); FillData(out_data, out.dims().production(), 0, 0); - FillData(ref_data, out.dims().production(), 0, 0); + FillData(ref_data, ref.dims().production(), 0, 0); MulCompute mul; operators::MulParam param;