


m(input)
      tensor([[[ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  1.6585,  0.4320,  3.5000,  3.5000],
               [ 3.5000,  3.5000, -0.8701, -0.4649,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000,  3.5000]]])
      >>> # using different paddings for different sides
      >>> m = nn.ConstantPad2d((3, 0, 2, 1), 3.5)
      >>> m(input)
      tensor([[[ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000],
               [ 3.5000,  3.5000,  3.5000,  1.6585,  0.4320],
               [ 3.5000,  3.5000,  3.5000, -0.8701, -0.4649],
               [ 3.5000,  3.5000,  3.5000,  3.5000,  3.5000]]])


