scvi.dataloaders.DataSplitter.setup

DataSplitter.setup(stage=None)[source]

Split indices in train/test/val sets.