code: def test_permute_batch():
      for type in [np.uint8, np.int16, np.uint32, np.int64, np.float32]:
          for device in ["cpu", "gpu"]:
              yield _test_permute_batch, device, type
  
file_path: DALI/dali/test/python/operator_1/test_batch_permute.py
imports: import nvidia.dali
  import nvidia.dali.fn
  from nvidia.dali.pipeline import Pipeline
  import numpy
  from test_utils import check_batch
  from nose_utils import raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_permute_batch() without return types