From ae1ce4ae8267ec17c36778241f85caf18c1307d0 Mon Sep 17 00:00:00 2001 From: chenjiaoAngel Date: Thu, 13 Aug 2020 18:06:08 +0800 Subject: [PATCH] d --- .../arm/math/conv5x5s1_depthwise_fp32.cc | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/lite/backends/arm/math/conv5x5s1_depthwise_fp32.cc b/lite/backends/arm/math/conv5x5s1_depthwise_fp32.cc index 062e3d2067..eb840fd400 100644 --- a/lite/backends/arm/math/conv5x5s1_depthwise_fp32.cc +++ b/lite/backends/arm/math/conv5x5s1_depthwise_fp32.cc @@ -966,34 +966,6 @@ inline void compute_all_padding_pre(float* dout, } *dout++ = sum; } - /* - switch (pad_left_new) { - case 4: - float sum = compute_one_data_pre(din_ptr_arr[num], weights[4], bias[0], weights[6][0], 0); - for (int i = 0; i < num; i++) { - sum += compute_one_data_pre(din_ptr_arr[num - 1 - i], weights[3 - i], 0.f, weights[5][3 - i], 0); - } - *dout++ = sum; - case 3: - float sum = compute_one_data_pre(din_ptr_arr[num], weights[4], bias[0], weights[6][0], 1); - for (int i = 0; i < num; i++) { - sum += compute_one_data_pre(din_ptr_arr[num - 1 - i], weights[3 - i], 0.f, weights[5][3 - i], 1); - } - *dout++ = sum; - case 2: - float sum = compute_one_data_pre(din_ptr_arr[num], weights[4], bias[0], weights[6][0], 2); - for (int i = 0; i < num; i++) { - sum += compute_one_data_pre(din_ptr_arr[num - 1 - i], weights[3 - i], 0.f, weights[5][3 - i], 2); - } - *dout++ = sum; - case 1: - float sum = compute_one_data_pre(din_ptr_arr[num], weights[4], bias[0], weights[6][0], 3); - for (int i = 0; i < num; i++) { - sum += compute_one_data_pre(din_ptr_arr[num - 1 - i], weights[3 - i], 0.f, weights[5][3 - i], 3); - } - *dout++ = sum; - } - */ // mid if (cnt > 0) { switch (num) { -- GitLab