UpsampleNearestNeighbor
Nearest-neighbor upscaling utilities.
Notes:
Only integer scale factors are supported (scale >= 1)
Implemented for Float FP32 tensors which is a common case for MNIST-like data
Supported layouts: HW (grayscale), CHW (C,H,W)