code: def test_arithm_ops():
      pipe = dali.pipeline.Pipeline(1, 1, None)
      with pipe:
          in1 = fn.external_source([[np.uint8([[1, 2], [3, 4]])]])
          pipe.set_outputs(
              in1 + np.array([[10, 20], [30, 40]]),
              in1 + np.array(5),
              in1 + np.uint8(100),
          )
      pipe.build()
      o = pipe.run()
      assert np.array_equal(o[0].at(0), np.array([[11, 22], [33, 44]]))
      assert np.array_equal(o[1].at(0), np.array([[6, 7], [8, 9]]))
      assert np.array_equal(
          o[2].at(0), np.array([[101, 102], [103, 104]])
      )
  
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 6 for calling a global function with example usage: test_arithm_ops() without return types