clinicadl.data.dataloader.collate.CollateFn¶
- class clinicadl.data.dataloader.collate.CollateFn[source]¶
Abstract class to define how sequences of
Sampleare collated into batches.The only function to override is
__call__(), which defines how the samples are collated, and thus what will be the output of theDataLoader.