clinicadl.data.dataloader

For building a PyTorch DataLoader adapted to ClinicaDL.

Batch

A batch container for DataPoint objects.

DataLoader

To load data in batches.

Collate functions

To define how the DataLoader will collate the collections of samples.

CollateFn

Abstract class to define how sequences of Sample are collated into batches.

ToBatchCollate

To simply collate a sequence of samples in a single batch.

ToBatchesCollate

To return a sequence of batches.

MergeBatchesCollate

To merge several batches into a single batch.