code: def test_forward_backward(
      seed, x0_shape, indices_shape, x1_shape, axis, ctx, func_name
  ):
      rng = np.random.RandomState(seed)
      x0 = rng.randn(*x0_shape).astype(np.float32)
      indices = rng.randint(
          low=0, high=min(indices_shape), size=np.prod(indices_shape)
      )
      indices = np.reshape(indices, newshape=indices_shape)
      x1 = rng.randn(*x1_shape).astype(np.float32)
  
      inputs = [x0, indices, x1]
      function_tester(
          rng,
          F.scatter_add,
          scatter_add,
          inputs,
          func_name=func_name,
          func_args=[axis],
          ctx=ctx,
          backward=[True, False, True],
          atol_b=3e-3,
      )
  
imports: import pytest
  import numpy
  import nnabla.functions
  from nbla_test_utils import list_context, function_tester
label_desc: Use image node_id 2 for calling a global function with example usage: test_forward_backward(seed, x0_shape, indices_shape, x1_shape, axis, ctx, func_name) without return types