Contents:
Collates a batch by zipping its elements together. Note: not pickle-safe for complex nested structures, but works for typical (data, label) batches.
batch (tuple) – A batch from the dataloader.
A tuple of zipped elements, where each element corresponds to a single batch item.
tuple