That works.
Parameter containing:
(0 ,0 ,.,.) = 
 -0.1781 -0.3750  0.0752 -0.1060  0.1356
  0.1607 -0.2711  0.1783  0.2942  0.0471
  0.1992  0.0228 -0.1627 -0.4729 -0.0560
  0.1801 -0.0715  0.0305 -0.0124 -0.1072
  0.2290  0.3730  0.1166 -0.1296  0.0746
[torch.cuda.FloatTensor of size 1x1x5x5 (GPU 0)]