Ask a question to get started
Enter to sendā¢Shift+Enter new line
batch_iterate( size: int | None, iterable: Iterable[T], ) -> Iterator
size
int | None
iterable
Iterable[T]
Utility batching function.
The size of the batch.
If None, returns a single batch.
None
The iterable to batch.