提交 bf824d85 编写于 作者: Y yangyaming

Refine doc.

上级 82571deb
...@@ -48,8 +48,9 @@ class ParallelExecutor(object): ...@@ -48,8 +48,9 @@ class ParallelExecutor(object):
it will share variables from the specified ParallelExecutor. it will share variables from the specified ParallelExecutor.
use_default_grad_scale(bool, default True): If set True, a default use_default_grad_scale(bool, default True): If set True, a default
scale value equal to `1./device_count` would be multiplied to scale value equal to `1./device_count` would be multiplied to
the gradients. Otherwise, a customized scale value should be gradients of each device and scaled gradients would be
feeded to the network. aggregated. Otherwise, a customized scale value should be fed
to the network.
Returns: Returns:
A ParallelExecutor object. A ParallelExecutor object.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册