Exercise:Convolution and Pooling
From Ufldl
(→Step 3a: Convolution) |
(→Step 3a: Convolution) |
||
Line 109: | Line 109: | ||
</math> | </math> | ||
- | If you use <tt>conv2(image, W)</tt>, MATLAB will first "flip" <tt>W</ | + | If you use <tt>conv2(image, W)</tt>, MATLAB will first "flip" <tt>W</tt>, reversing its rows and columns, before convolving <tt>W</tt> with <tt>image</tt>, as below: |
<math> | <math> |