Skip to content
GitLab
菜单
项目
群组
代码片段
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
KMSCAKKSCFKA AKFACAMADCAS
tensorflow-federated
提交
f5ef56e0
提交
f5ef56e0
编辑于
11月 29, 2021
作者:
Michael Reneer
提交者:
tensorflow-copybara
11月 29, 2021
浏览文件
Update documentation.
PiperOrigin-RevId: 412953692
上级
acf40b17
变更
1
Hide whitespace changes
Inline
Side-by-side
tensorflow_federated/python/program/data_source.py
浏览文件 @
f5ef56e0
...
...
@@ -55,7 +55,7 @@ class Capability(enum.Enum):
class
FederatedDataSourceIterator
(
metaclass
=
abc
.
ABCMeta
):
"""An abstract interface for representing federated data source
s
iterators.
"""An abstract interface for representing federated data source iterators.
This interface abstracts away the specifics of iterating over data in a data
source.
...
...
@@ -70,7 +70,7 @@ class FederatedDataSourceIterator(metaclass=abc.ABCMeta):
`select`.
Please see `tff.program.FederatedDataSource` for additional context and the
high-level description how to use data sources.
high-level description
of
how to use data sources.
"""
@
abc
.
abstractproperty
...
...
@@ -117,8 +117,8 @@ class FederatedDataSource(metaclass=abc.ABCMeta):
* Determine the guarantees/features offered by this data source by inspecting
the `capabilities` property.
* Construct a new iterator for this data source by invoking `iterat
e
r` on it.
Each iterator represents an indepenent pass over the data from this data
* Construct a new iterator for this data source by invoking `iterat
o
r` on it.
Each iterator represents an indepen
d
ent pass over the data from this data
source. See the descriptions of capabilities for the formal guarantees.
"""
...
...
编辑
预览
Supports
Markdown
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录