Hi,
The only difference between what you expect and what you get is a transpose. The expected use for convolution is to do mm(w, unfold(input)).
You can see here 4 that the unfold is called and here 2 the mm is done with the weights.