code: def get_iterable(dtype, iter_limit=1000, batch_size=None, dense=True):
      bs = 1 if batch_size is None else batch_size
      max_shape = (20, 20)
      min_shape = max_shape  # if dense else None
      result = FiniteIterator(
          iter(
              RandomlyShapedDataIterator(
                  bs, min_shape, max_shape, 42, dtype
              )
          ),
          iter_limit,
      )
      if batch_size is None:
          return UnwrapIterator(iter(result))
      else:
          return DenseIterator(iter(result)) if dense else result
  
imports: import copy
  import numpy
  import nvidia.dali.plugin.tf
  import tensorflow
  from nvidia.dali import Pipeline, fn
  from test_utils import RandomlyShapedDataIterator
label_desc: Use image node_id 5 for calling a global function with example usage: get_iterable(dtype, iter_limit, batch_size, dense) and returns: UnwrapIterator, unknown