From 071098038487cb80b2cd78c37000a2a052fbfbe1 Mon Sep 17 00:00:00 2001 From: chenjiaoAngel Date: Wed, 19 Aug 2020 10:17:00 +0000 Subject: [PATCH] fix build error. test=develop --- lite/backends/arm/math/conv5x5s2_depthwise_fp32.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lite/backends/arm/math/conv5x5s2_depthwise_fp32.cc b/lite/backends/arm/math/conv5x5s2_depthwise_fp32.cc index a3276962b5..00c12587fa 100644 --- a/lite/backends/arm/math/conv5x5s2_depthwise_fp32.cc +++ b/lite/backends/arm/math/conv5x5s2_depthwise_fp32.cc @@ -3180,8 +3180,7 @@ void conv_depthwise_5x5s2_bias_relu(float* dout, vbias, weights_vec, vzero, - win, - wout, + odds_w, pad_left_new, pad_right_new, cnt, @@ -3275,8 +3274,7 @@ void conv_depthwise_5x5s2_bias_relu(float* dout, vbias, weights_vec, vzero, - win, - wout, + odds_w, pad_left_new, pad_right_new, cnt, @@ -4636,7 +4634,7 @@ inline void compute_all_padding_mid_leakyRelu(float* dout, const float* scale, float32x4_t* weights, float32x4_t vzero, - bool odds_w, + bool odds, int pad_left, int pad_right, int cnt, @@ -4662,7 +4660,7 @@ inline void compute_all_padding_mid_leakyRelu(float* dout, if (odds) { // origin pad_left is odds, such as ori_pad_left=1 din_ptr_arr[num]++; for (int k = 0; k < num; k++) { - din_ptr_arr[tmp_index - k]++; + din_ptr_arr[tmp - k]++; } } // clang-format off -- GitLab