code: def test_activation_forward_backward(act_name, seed, ctx, func_name):
      act = getattr(F, act_name)
      ref_func = eval("ref_func_" + act_name)
      ref_grad = eval("ref_grad_" + act_name)
      rng = np.random.RandomState(seed)
      inputs = [rng.randn(2, 3, 4).astype(np.float32) * 2]
  
      function_tester(
          rng,
          act,
          ref_func,
          inputs,
          atol_b=1e-2,
          dstep=1e-3,
          ref_grad=ref_grad,
          ctx=ctx,
          func_name=func_name,
      )
  
file_path: nnabla/python/test/function/test_binary_activation.py
imports: import pytest
  import numpy
  import nnabla.functions
  from nbla_test_utils import function_tester, list_ctx_and_func_name
label_desc: Use image node_id 5 for calling a global function with example usage: test_activation_forward_backward(act_name, seed, ctx, func_name) without return types