code: def upsample_nearest(input, size=None, scale_factor=None):
      return interpolate(
          input, size=size, scale_factor=scale_factor, mode="nearest"
      )
  
file_path: ivy/ivy/functional/frontends/torch/nn/functional/vision_functions.py
imports: import ivy
  from ivy import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 15 for calling a global function with example usage: upsample_nearest(input, size, scale_factor) and returns: interpolate