Skip to content

Commit

Permalink
Correct import of example in class docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KarhouTam committed Jun 18, 2024
1 parent 4f563ec commit fdfbc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/flwr_datasets/partitioner/semantic_partitioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class SemanticPartitioner(Partitioner):
Examples
--------
>>> from flwr_datasets import FederatedDataset
>>> from flwr_datasets import SemanticPartitioner
>>> from flwr_datasets.partitioner import SemanticPartitioner
>>> partitioner = SemanticPartitioner(
>>> num_partitions=10,
>>> partition_by="label",
Expand Down

0 comments on commit fdfbc3f

Please sign in to comment.