浏览代码

fix: Fix docstring of FederatedTorchDataset (#21)

Zhuang Weiming 1 年之前
父节点
当前提交
9273411cc5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):