Skip to content

Commit

Permalink
Clarify partitioners parameter description in docs (#2603)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak authored Nov 15, 2023
1 parent 93b8a3d commit 60199e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datasets/flwr_datasets/federated_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class FederatedDataset:
partitioners : Dict[str, Union[Partitioner, int]]
A dictionary mapping the Dataset split (a `str`) to a `Partitioner` or an `int`
(representing the number of IID partitions that this split should be partitioned
into).
into). One or multiple `Partitioner`s can be specified in that manner, but at
most, one per split.
shuffle : bool
Whether to randomize the order of samples. Applied prior to resplitting,
speratelly to each of the present splits in the dataset. It uses the `seed`
Expand Down

0 comments on commit 60199e7

Please sign in to comment.