Data tl.data

Data tl.data#

Utility functions to prepare data for training and evaluation.
Generally, tl.data.AnnDataModule is the only one that should be called directly by the user.

AnnDataModule(adata[, genome, ...])

DataModule class which defines how dataloaders should be loaded in each stage.

AnnDataLoader(dataset, batch_size[, ...])

Pytorch-like DataLoader class for AnnDataset with options for batching, shuffling, and one-hot encoding.

AnnDataset(anndata, genome[, split, ...])

Dataset class for combining genome files and AnnData objects.