code: def test_pad(inspecs, nnabla_opts):
      fb = FunctionBenchmark(
          F.pad,
          inspecs,
          [(10, 10, 10, 10), "constant", 0.0],
          {},
          nnabla_opts.ext,
          nnabla_opts.ext_kwargs,
      )
      fb.benchmark()
      fb.write(writer=nnabla_opts.function_benchmark_writer)
  
imports: import pytest
  import nnabla.initializer
  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_pad(inspecs, nnabla_opts) without return types