code: def test_forward_backward(
      seed, ishape, index, oshape, ctx, func_name
  ):
      rng = np.random.RandomState(seed)
      inputs = [rng.randn(*ishape).astype(np.float32), np.array(index)]
      function_tester(
          rng,
          F.scatter_nd,
          scatter_nd,
          inputs,
          func_name=func_name,
          func_args=[oshape],
          ctx=ctx,
          backward=[True, False],
      )
  
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, ishape, index, oshape, ctx, func_name) without return types