-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd4779f
commit ce2aefd
Showing
5 changed files
with
72 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FederatedDataset | ||
================ | ||
|
||
.. automodule:: flwr_datasets.federated_dataset | ||
|
||
.. autoclass:: FederatedDataset | ||
:members: | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
~FederatedDataset.load_partition | ||
~FederatedDataset.load_full |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
flwr\_datasets (Python API reference) | ||
====================== | ||
===================================== | ||
|
||
Federated Dataset | ||
----------------- | ||
.. autoclass:: flwr_datasets.federated_dataset.FederatedDataset | ||
:members: | ||
Welcome to the Flower Dataset API Reference Manual! The Flower Dataset library is a pivotal tool designed to address | ||
the unique challenges of managing datasets in the realm of federated learning. | ||
|
||
Here, you will find: | ||
|
||
partitioner | ||
----------- | ||
* **Detailed Descriptions**: Understand the core components and functionalities of the Flower Dataset library. | ||
* **Function, Class and Method Definitions**: Get specifications on inputs, outputs, and behaviors for each function class and method available. | ||
* **Sample Code and Usage**: See the Flower Dataset library in action with short code snippets included in the docstrings. | ||
|
||
.. automodule:: flwr_datasets.partitioner | ||
For full examples please visit the tutorial section or Flower examples that work end to end using this library. | ||
|
||
.. rubric:: Federated Dataset | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
Partitioner | ||
----------- | ||
ref-api-FederatedDataset | ||
|
||
.. autoclass:: flwr_datasets.partitioner.Partitioner | ||
:members: | ||
.. rubric:: Partitioners | ||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
|
||
IID Partitioner | ||
--------------- | ||
|
||
.. autoclass:: flwr_datasets.partitioner.IidPartitioner | ||
:members: | ||
ref-api-partitioner |
13 changes: 13 additions & 0 deletions
13
datasets/doc/source/ref-api-partitioner.IidPartitioner.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
partitioner.IidPartitioner | ||
=========================================== | ||
|
||
.. autoclass:: flwr_datasets.partitioner.IidPartitioner | ||
:members: | ||
:inherited-members: | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
~IidPartitioner.dataset | ||
~IidPartitioner.load_partition | ||
~IidPartitioner.is_dataset_assigned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
partitioner.Partitioner | ||
=================================== | ||
|
||
.. autoclass:: flwr_datasets.partitioner.Partitioner | ||
:members: | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
~Partitioner.dataset | ||
~Partitioner.load_partition | ||
~Partitioner.is_dataset_assigned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
partitioner | ||
============================ | ||
|
||
.. automodule:: flwr_datasets.partitioner | ||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
Partitioner | ||
IidPartitioner | ||
|
||
.. rubric:: Structure | ||
|
||
.. toctree:: | ||
|
||
ref-api-partitioner.Partitioner | ||
ref-api-partitioner.IidPartitioner |