1234567891011121314151617181920212223242526 |
- from easyfl.datasets.data import construct_datasets
- from easyfl.datasets.dataset import (
- FederatedDataset,
- FederatedImageDataset,
- FederatedTensorDataset,
- FederatedTorchDataset,
- TEST_IN_SERVER,
- TEST_IN_CLIENT,
- )
- from easyfl.datasets.simulation import (
- data_simulation,
- iid,
- non_iid_dirichlet,
- non_iid_class,
- equal_division,
- quantity_hetero,
- )
- from easyfl.datasets.utils.base_dataset import BaseDataset
- from easyfl.datasets.femnist import Femnist
- from easyfl.datasets.shakespeare import Shakespeare
- from easyfl.datasets.cifar10 import Cifar10
- from easyfl.datasets.cifar100 import Cifar100
- __all__ = ['FederatedDataset', 'FederatedImageDataset', 'FederatedTensorDataset', 'FederatedTorchDataset',
- 'construct_datasets', 'data_simulation', 'iid', 'non_iid_dirichlet', 'non_iid_class',
- 'equal_division', 'quantity_hetero', 'BaseDataset', 'Femnist', 'Shakespeare', 'Cifar10', 'Cifar100']
|