code: def test_activation(inspecs, activation, nnabla_opts):
      func = getattr(F, activation)
      fb = FunctionBenchmark(
          func, inspecs, [], {}, nnabla_opts.ext, nnabla_opts.ext_kwargs
      )
      fb.benchmark()
      fb.write(writer=nnabla_opts.function_benchmark_writer)
  
imports: import pytest
  import nnabla.functions
  from function_benchmark import FunctionBenchmark, Inspec
label_desc: Use image node_id 2 for calling a global function with example usage: test_activation(inspecs, activation, nnabla_opts) without return types