code: def random_shape_or_empty(max_shape):
      empty_sh = random.choice([True, False])
      if empty_sh:
          return np.array([200, 0, 3], np.int32)
      else:
          return np.array(
              [
                  1 if s == 1 else np.random.randint(1, s)
                  for s in max_shape
              ],
              dtype=np.int32,
          )
  
file_path: DALI/dali/test/python/operator_1/test_normal_distribution.py
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali.backend_impl import TensorListGPU
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  import scipy.stats
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: random_shape_or_empty(max_shape) and returns: np, np