code: def test_shift_forward_backward(
      seed, inshape, shifts, border_mode, ctx, func_name
  ):
      from nbla_test_utils import function_tester
  
      rng = np.random.RandomState(seed)
      # Input
      inputs = [rng.randn(*inshape).astype(np.float32)]
      function_tester(
          rng,
          F.shift,
          ref_shift,
          inputs,
          func_args=[shifts, border_mode],
          ctx=ctx,
          func_name=func_name,
          atol_f=1e-6,
          atol_b=1e-2,
      )
  
imports: import pytest
  import numpy
  from scipy.ndimage.interpolation import shift
  import nnabla.functions
  from nbla_test_utils import list_context
label_desc: Use image node_id 2 for calling a global function with example usage: test_shift_forward_backward(seed, inshape, shifts, border_mode, ctx, func_name) without return types