Solved by KFrank in post #2 
              
              
                Hello Mirror! 

Note, I am using an older version of pytorch, 0.3.0. 
The only way I know to perform a convolution in pytorch (without 
writing your own convolution logic) is to create an appropriate 
torch.nn.Conv2d and apply it to your appropriately-reshaped data. 
(Newer versions of pytorch may o…