I'm doing the following convolution with expand = false:
- Code: Select all
data(span, span, k) dims=[256 64]
W(span, span, j) dims=[8 64]
z dims=[256 64]
The input matrices are data and W and the output is z.
I expected the output to be in size [249 1] since I assume expand=false means no padding of zeros.
Is that wrong? How can I achieve a convolution like MATLAB's 'valid' option?
Thanks.