I run you code, and got: (‘weight’ change to 'weight')
Variable containing:
(0 ,0 ,.,.) = 
   1   2   3   4
   5   6   7   8
   9  10  11  12
  13  14  15  16
[torch.FloatTensor of size 1x1x4x4]
 Variable containing:
(0 ,0 ,.,.) = 
    348   1785   4008   2751
   1224   5211  10737   7155
   2100   7053  12579   8121
   1584   4887   8190   5157
[torch.FloatTensor of size 1x1x4x4]

Maybe your question is about “what deconv operation” do (It’s not b=Conv(a) a=Deconv(b))，you can reference Deconv 15