Browse Source

fix: Fix docstring of FederatedTorchDataset (#21)

Zhuang Weiming 1 year ago
parent
commit
9273411cc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      easyfl/datasets/dataset.py

+ 1 - 1
easyfl/datasets/dataset.py

@@ -394,7 +394,7 @@ class FederatedTorchDataset(FederatedDataset):
     """Wrapper over PyTorch dataset.
     """Wrapper over PyTorch dataset.
 
 
     Args:
     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):
     def __init__(self, data, users):