Browse Source

Fix bug for convolution on x86

tags/20170919
Hyungsuk Yoon nihui 8 years ago
parent
commit
c641db8034
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/layer/x86/convolution_x86.cpp

+ 1
- 1
src/layer/x86/convolution_x86.cpp View File

@@ -26,7 +26,7 @@ int Convolution_x86::forward(const Mat& bottom_blob, Mat& top_blob) const
// convolv with NxN kernel
// value = value + bias

if (kernel_size > 5 || dilation != 1)
if (kernel_size > 5 || stride > 5 || dilation != 1)
{
return Convolution::forward(bottom_blob, top_blob);
}


Loading…
Cancel
Save