tl.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.

Classes

AnnDataLoader

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

AnnDataModule

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

AnnDataset

Dataset class for combining genome files and AnnData objects.

SequenceLoader

Load sequences from a genome file.