code: def test_constant_op():
      yield _test_op, "cpu"
      yield _test_op, "gpu"
  
imports: import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  from nvidia.dali import Pipeline
  from test_utils import check_batch
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 5 for calling a global function with example usage: test_constant_op() without return types