I just need a layer, not a function.
If nn.Upsample is deprecated, i cannot find any layer to replace it.
F.upsample and F.interpolate may be similar, but there is no nn.Interpolate, and I don’t know why.