code: def get_data_source(batch_size, in_dim, type):
      return lambda: make_data_batch(batch_size, in_dim, type)
  
file_path: DALI/dali/test/python/operator_1/test_coord_transform.py
imports: import random
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  from test_utils import check_batch, dali_type
  from sequences_test_utils import ArgData, ArgDesc, sequence_suite_helper, ArgCb
label_desc: Use image node_id 4 for calling a global function with example usage: get_data_source(batch_size, in_dim, type) and returns: function