I think you have something additionally somewhere else. There seems to be a sequential model with convolution (?) in Upsample (if you permit a style hint you didn’t ask for: why would you have upper case for your instances?)
list(torch.nn.Upsample().named_parameters())
shows that Vanilla Upsample module don’t have parameters. If you assign things to them, they will take this, though.
If you want people to look at this, you would likely have to show more of your code.
Yes, there are something more in the sequential model like conv operations as you mentioned.
I just didn’t write the whole code because I thought it would be hairy and unnecessary.
Anyway, that works for me. Thanks!