code: def test_add2_inplace(seed, ctx, func_name):
      from nbla_test_utils import inplace_function_test_helper
  
      x0 = nn.Variable([2, 3, 4], need_grad=True)
      x1 = nn.Variable([2, 3, 4], need_grad=True)
      inplace_function_test_helper(
          [x0, x1],
          F.add2,
          ctx=ctx,
          func_name=func_name,
          rng=np.random.RandomState(seed),
      )
  
file_path: nnabla/python/test/function/test_add2.py
imports: import pytest
  import numpy
  import nnabla
  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_add2_inplace(seed, ctx, func_name) without return types