code: def cb(sample_info):
      encoded_img = np.fromfile(jpeg_file, dtype=np.uint8)
      label = 1
      return encoded_img, np.int32([label])
  
file_path: DALI/dali/test/python/test_external_source_parallel_garbage_collection_order.py
imports: import os
  import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  from test_utils import get_dali_extra_path
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: cb(sample_info) and returns: encoded_img,  np