Modify pserver_spec's doc.

revert-3824-remove_grad_op_type
wanghaoshuang 8 years ago
parent fd107ae550
commit 4be8189a80

@ -38,9 +38,10 @@ class SGD(object):
:type extra_layers: paddle.v2.config_base.Layer
:param is_local: Whether trainning locally
:type is_local: bool
:param pserver_spec: pserver location, eg: localhost:3000,
if use_etcd is true, pserver_spec indicates
the etcd endpoints, eg: http://127.0.0.1:2379
:param pserver_spec: comma string for pserver location,
eg:127.10.0.10:3000,127.10.0.11:3000,
and this parameter is only used for fault
tolerant mode cluster training.
:type pserver_spec: string
:param use_etcd: Whether using etcd pserver.
:param use_etcd: bool

Loading…
Cancel
Save