Hi PyTorchers!
So, I was trying to look up the parameters of pretrained model for fun.
when I run this code,

model = myModel()
for name, param in model.naemed_parameters():
print(’{}: {}’.format(name, param.shape))

I get this line of unexpected code.

Upsample.1.weight: (torch.Size([256, 256, 3, 3]))
Upsample.1.bias: (torch.Size([256]))

myModel class contains the following code in its ‘init’ method.
self.Upsample = torch.nn.Upsample(scale_factor=2, mode=‘bilinear’, True)
Is this normal?