code: def iterate(files, bs=1):
      batch = []
      for file in files:
          batch.append(file)
          if len(batch) >= bs:
              yield batch
              batch = []
      if len(batch) > 0:
          yield batch
          batch = []
  
imports: import json
  import pathlib
  import zipfile
  import numpy
  from tinygrad.helpers import fetch
  import pycocotools._mask
  from examples.mask_rcnn import Masker
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
label_desc: Use image node_id 11 for calling a global function with example usage: iterate(files, bs) without return types