in pytorch conv1d dispatches to conv2d, adding a fake dimension, I guess in their framework something similar happens, or they have other reasons to unsqueeze input to 4d.



 Se_di:

But then I’m supposed to use a kernel_size of 3 which is a 3x3 matrix?


I didn’t say to use 3 with conv2d