code: def setup_change_out_shape(out_shape, in_shape):
      out0_shape = out_shape[0]
      in0_shape = in_shape[0]
      perm = [1, 2, 0]
      for sample_idx in range(len(out0_shape)):
          for d in range(len(perm)):
              out0_shape[sample_idx][d] = in0_shape[sample_idx][perm[d]]
  
imports: import numpy
  import os
  from nvidia.dali import pipeline_def
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.types
  from nose import with_setup
  from test_utils import get_dali_extra_path, to_array, check_numba_compatibility_cpu, check_numba_compatibility_gpu
  from nvidia.dali.plugin.numba.fn.experimental import numba_function
  from numba import cuda
label_desc: Use image node_id 7 for calling a global function with example usage: setup_change_out_shape(out_shape, in_shape) without return types