code: def _test_empty_input(device):
      pipe = dali.pipeline.Pipeline(
          batch_size=2, num_threads=4, device_id=0, seed=1234
      )
      with pipe:
          X = fn.external_source(
              source=[[np.zeros([0, 3]), np.zeros([0, 3])]],
              device="cpu",
              layout="AB",
          )
          Y = fn.coord_transform(X, M=(1, 2, 3, 4, 5, 6), T=(1, 2))
          pipe.set_outputs(Y)
      pipe.build()
      o = pipe.run()
      assert o[0].layout() == "AB"
      assert len(o[0]) == 2
      for i in range(len(o[0])):
          assert o[0].at(0).size == 0
  
file_path: DALI/dali/test/python/operator_1/test_coord_transform.py
imports: import random
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  from test_utils import check_batch, dali_type
  from sequences_test_utils import ArgData, ArgDesc, sequence_suite_helper, ArgCb
label_desc: Use image node_id 7 for calling a global function with example usage: _test_empty_input(device) without return types