Skip to content

Commit

Permalink
Add numpy import to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng committed Jul 17, 2024
1 parent 06ae94d commit 2501830
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class label distribution. `float` values are rounded to the nearest `int`.
>>> from flwr_datasets import FederatedDataset
>>> from flwr_datasets.partitioner import DistributionPartitioner
>>> from pprint import pprint
>>> import numpy as np
>>>
>>> num_clients = 1_000
>>> num_unique_labels_per_client = 2
Expand Down

0 comments on commit 2501830

Please sign in to comment.