dataeval.utils.data.collate

Collate functions used with a PyTorch DataLoader to load data from MAITE compliant datasets.

Functions

list_collate_fn(batch_data_as_singles)

A collate function that takes a batch of individual data points in the format

numpy_collate_fn(batch_data_as_singles)

A collate function that takes a batch of individual data points in the format

torch_collate_fn(batch_data_as_singles)

A collate function that takes a batch of individual data points in the format