UpsamplingNearest2d
- class torch.nn.modules.upsampling.UpsamplingNearest2d(size=None, scale_factor=None)
Applies a 2D nearest neighbor upsampling to an input signal composed of several input channels.
To specify the scale, it takes either the
sizeor theas its constructor argument.