code: def test_stack_numpy_scalar():
      pipe = dali.pipeline.Pipeline(1, 1, None)
      src = fn.external_source(
          [[np.array([[10, 11], [12, 13]], dtype=np.float32)]]
      )
      pipe.set_outputs(
          fn.cat(src, np.array([[20], [21]], dtype=np.float32), axis=1)
      )
      pipe.build()
      o = pipe.run()
      assert np.array_equal(
          o[0].at(0), np.array([[10, 11, 20], [12, 13, 21]])
      )
  
file_path: DALI/dali/test/python/operator_1/test_input_promotion.py
imports: import nvidia.dali
  import nvidia.dali.fn
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: test_stack_numpy_scalar() without return types