From 89e6f8af33face19e7e5a8388cd9b6feb2f4eec5 Mon Sep 17 00:00:00 2001 From: nihui Date: Sun, 30 Oct 2022 20:43:47 +0800 Subject: [PATCH] fix #4315 --- src/layer/arm/convolution_arm.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/layer/arm/convolution_arm.cpp b/src/layer/arm/convolution_arm.cpp index 1f8f0c1cb485..f31ed1576ca9 100644 --- a/src/layer/arm/convolution_arm.cpp +++ b/src/layer/arm/convolution_arm.cpp @@ -387,10 +387,8 @@ int Convolution_arm::create_pipeline(const Option& opt) // conv3x3s1_winograd63_transform_kernel_neon(weight_data, weight_winograd63_data, num_input, num_output, opt); conv3x3s1_winograd63_transform_kernel_neon5(weight_data, weight_winograd63_data, num_input, num_output, opt); } - else - { - weight_data_tm = weight_data; - } + + weight_data_tm = weight_data; } else if (kernel_w == 3 && kernel_h == 3 && dilation_w == 1 && dilation_h == 1 && stride_w == 2 && stride_h == 2) {