code: def to_batch(tl, batch_size):
      return [np.array(tl[i]) for i in range(batch_size)]
  
file_path: DALI/dali/test/python/operator_2/test_sequence_rearrange.py
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.fn
  import numpy
  from nose_utils import raises
label_desc: Use image node_id 5 for calling a global function with example usage: to_batch(tl, batch_size) and returns: unknown