Skip to content

Commit

Permalink
Rename SizePartitioner to IdToSizeFunctionPartitioner
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak committed Aug 30, 2024
1 parent d02b81a commit 0269569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""SizePartitioner class."""
"""IdToSizeFuncitonPartitioner class."""


from typing import Callable, Dict, List, Union
Expand All @@ -23,7 +23,7 @@
from flwr_datasets.partitioner.partitioner import Partitioner


class SizePartitioner(Partitioner):
class IdToSizeFunctionPartitioner(Partitioner):
"""Base class for the deterministic size partitioning based on the `partition_id`.
The client with `partition_id` has the following relationship regarding the number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""SizePartitioner tests."""
"""IdToSizeFuncitonPartitioner tests."""


import unittest
Expand Down

0 comments on commit 0269569

Please sign in to comment.