code: def test_interpolate(
      dtype_x_mode, test_flags, backend_fw, fn_name, on_device
  ):
      (
          input_dtype,
          x,
          mode,
          size,
          align_corners,
          scale_factor,
          recompute_scale_factor,
      ) = dtype_x_mode
      helpers.test_function(
          input_dtypes=input_dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          rtol_=1e-01,
          atol_=1e-03,
          x=x[0],
          size=size,
          mode=mode,
          align_corners=align_corners,
          scale_factor=scale_factor,
          recompute_scale_factor=recompute_scale_factor,
      )
  
imports: import numpy
  import torch
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 31 for calling a global function with example usage: test_interpolate(dtype_x_mode, test_flags, backend_fw, fn_name, on_device) without return types