We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ca6a72 + e3286c9 commit 69ff7a7Copy full SHA for 69ff7a7
modules/dnn/src/layers/convolution_layer.cpp
@@ -606,7 +606,7 @@ class ConvolutionLayerImpl CV_FINAL : public BaseConvolutionLayerImpl
606
607
int inpCnAll = input.size[1], width = input.size[3], height = input.size[2];
608
int inpCn = inpCnAll / ngroups;
609
- p.is1x1_ = kernel == Size(0,0) && pad == Size(0, 0);
+ p.is1x1_ = kernel == Size(1,1) && pad == Size(0, 0);
610
p.useAVX = checkHardwareSupport(CPU_AVX);
611
p.useAVX2 = checkHardwareSupport(CPU_AVX2);
612
p.useAVX512 = CV_CPU_HAS_SUPPORT_AVX512_SKX;
0 commit comments