I'm trying to convolve two matrices in the following sizes, and I get the followig error:

- Code: Select all
`data(span, span, span, j) dims=[256 64 5]`

W(span, span, j) dims=[8 64]

src/gena/gi_subs.cpp:518: error: assignment size mismatch: source 81920, destination 1245

I expected the same behavior as of matlab convn where the result would be a 3d matrix in the size [249 1 5].

Should both matrices be 2d or 3d?

Thanks.