code: def test_unified_arg_placement():
      batch_size = 30
  
      pipe = Pipeline(batch_size, 1, None)
      with pipe:
          u = ops.random.Uniform()(range=(1, 2), shape=3)
          tr = ops.transforms.Translation(offset=u, device="cpu")
          pipe.set_outputs(tr(), u)
      pipe.build()
      matrices, offsets = pipe.run()
      assert len(matrices) == batch_size
      for i in range(len(matrices)):
          offset = offsets.at(i)
          matrix = matrices.at(i)
          assert offset.shape == (3,)
          for j in range(3):
              assert (
                  offset[j] >= 1 and offset[j] < 2
              )  # check that it's not all zeros or sth
          T = offset[:, np.newaxis]  # convert to a columnn
          assert np.array_equal(
              matrix, np.concatenate([np.identity(3), T], axis=1)
          )
  
file_path: DALI/dali/test/python/operator_1/test_compose.py
imports: import numpy
  import os
  import nvidia.dali
  import nvidia.dali.fn
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_unified_arg_placement() without return types