Parcourir la source

fix: Fix docstring of FederatedTorchDataset (#21)

Zhuang Weiming il y a 1 an
Parent
commit
9273411cc5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      easyfl/datasets/dataset.py

+ 1 - 1
easyfl/datasets/dataset.py

@@ -394,7 +394,7 @@ class FederatedTorchDataset(FederatedDataset):
     """Wrapper over PyTorch dataset.
 
     Args:
-        data (dict): A dictionary of client datasets, format {"client_id": loader1, "client_id2": loader2}.
+        data (dict): A dictionary of client datasets, format {"client_id": dataset1, "client_id2": dataset2}.
     """
 
     def __init__(self, data, users):