code: def interpolate(
      x,
      size=None,
      scale_factor=None,
      mode="nearest",
      align_corners=False,
      align_mode=0,
      data_format="NCHW",
      name=None,
  ):
      return ivy.interpolate(
          x,
          size,
          mode=mode,
          scale_factor=scale_factor,
          align_corners=align_corners,
      )
  
file_path: ivy/ivy/functional/frontends/paddle/nn/functional/common.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 6 for calling a global function with example usage: interpolate(x, size, scale_factor, mode, align_corners, align_mode, data_format, name) and returns: ivy