torch.nn.functional.upsample_nearest
function upsample_nearest(input: Tensor, options?: UpsampleNearestOptions): Tensorfunction upsample_nearest(input: Tensor, size: number | number[] | undefined, scale_factor: number | number[], options?: UpsampleNearestOptions): TensorUpsamples the input tensor using nearest neighbor interpolation.
Parameters
inputTensoroptionsUpsampleNearestOptionsoptional