code: def test_constant_forward(value, shape, ctx, func_name):
      from nbla_test_utils import function_tester
  
      rng = None
      inputs = []
      function_tester(
          rng,
          F.constant,
          ref_constant,
          inputs,
          func_args=[value, shape],
          ctx=ctx,
          func_name=func_name,
          backward=[],
      )
  
imports: import pytest
  import numpy
  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_constant_forward(value, shape, ctx, func_name) without return types