COCOData.to_batch#

COCOData.to_batch(*samples)[source]#

Use the defined collate_fn to transform a few data items to batch format.