upsample_nearest
- class torch.ao.nn.quantized.functional.upsample_nearest(input, size=None, scale_factor=None)
Upsamples the input, using nearest neighbours’ pixel values.
Upsamples the input, using nearest neighbours’ pixel values.
This function is deprecated in favor of
torch.ao.nn.quantized.functional.interpolate().
This is equivalent with nn.quantized.functional.interpolate(..., mode='nearest').