yield_batch¶ Yield successive n-sized chunks from array. Parameters¶ array (Union[List[str], str, List[Dict[str, Any]], numpy.ndarray]) batch_size (int) desc (str) tqdm_bar (bool) – defaults to True