scvi.dataloaders.AnnTorchDataset.setup_data_attr

AnnTorchDataset.setup_data_attr()[source]

Sets data attribute.

Reduces number of times anndata needs to be accessed