code: def change_ndim_gpu(out0, in0):
      tx, ty = cuda.grid(2)
      x_s, y_s = cuda.gridsize(2)
      tid = ty * x_s + tx
      for i in range(2):
          for j in range(2):
              for k in range(2):
                  for x in range(tid, out0.shape[3], x_s * y_s):
                      out0[i][j][k][x] = x
  
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 12 for calling a global function with example usage: change_ndim_gpu(out0, in0) without return types