提交 4be8189a 编写于 作者: W wanghaoshuang

Modify pserver_spec's doc.

上级 fd107ae5
...@@ -38,9 +38,10 @@ class SGD(object): ...@@ -38,9 +38,10 @@ class SGD(object):
:type extra_layers: paddle.v2.config_base.Layer :type extra_layers: paddle.v2.config_base.Layer
:param is_local: Whether trainning locally :param is_local: Whether trainning locally
:type is_local: bool :type is_local: bool
:param pserver_spec: pserver location, eg: localhost:3000, :param pserver_spec: comma string for pserver location,
if use_etcd is true, pserver_spec indicates eg:127.10.0.10:3000,127.10.0.11:3000,
the etcd endpoints, eg: http://127.0.0.1:2379 and this parameter is only used for fault
tolerant mode cluster training.
:type pserver_spec: string :type pserver_spec: string
:param use_etcd: Whether using etcd pserver. :param use_etcd: Whether using etcd pserver.
:param use_etcd: bool :param use_etcd: bool
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册