title: Printing only the first weights of a neural network
body: <p>I have my model (a VGG16, but it is not important). I want to check only some parameters of my network, for example the first ones.
  To do this I do <code>list(model.parameters())</code> and it prints all the parameters.
  Now, considering that a VGG has this shape:</p>
  <pre><code>VGG16(
    (block_1): Sequential(
      (0): Conv2d(1, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))
      (1): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
      (2): ReLU()
      (3): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))
      (4): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
      (5): ReLU()
      (6): MaxPool2d(kernel_size=(2, 2), stride=(2, 2), padding=0, dilation=1, ceil_mode=False)
    )
  ...
  </code></pre>
  <p>If I want only the weights of the convolutions I do this: <code>list(model.block_1[0].parameters())</code> and it prints this:</p>
  <pre><code>[Parameter containing:
   tensor([[[[-0.3215, -0.0771,  0.4429],
             [-0.6455, -0.0827, -0.4266],
             [-0.2029, -0.2288,  0.1696]]],
   
   
           [[[ 0.5323, -0.2418, -0.1031],
             [ 0.5917,  0.2669, -0.5630],
             [ 0.3064, -0.4984, -0.1288]]],
   
   
           [[[ 0.3804,  0.0906, -0.2116],
             [ 0.2659, -0.3325, -0.1873],
             [-0.5044,  0.0900,  0.1386]]],
   
  </code></pre>
  <p>Now, these lists are always enormous. How can I print only the first values, for example, the first matrix?</p>
  <pre><code>[[[[-0.3215, -0.0771,  0.4429],
     [-0.6455, -0.0827, -0.4266],
     [-0.2029, -0.2288,  0.1696]]]
  </code></pre>