code: def chunks(array, chunk_size):
      for i in range(0, len(array), chunk_size):
          yield array[i : i + chunk_size], i
  
imports: import glob
  import math
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: chunks(array, chunk_size) without return types