From bf824d854adff4bbf2a527a1221af327916d7efd Mon Sep 17 00:00:00 2001 From: yangyaming Date: Thu, 26 Apr 2018 11:55:28 +0800 Subject: [PATCH] Refine doc. --- python/paddle/fluid/parallel_executor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/parallel_executor.py b/python/paddle/fluid/parallel_executor.py index d57341cfa..f4128dcbe 100644 --- a/python/paddle/fluid/parallel_executor.py +++ b/python/paddle/fluid/parallel_executor.py @@ -48,8 +48,9 @@ class ParallelExecutor(object): it will share variables from the specified ParallelExecutor. use_default_grad_scale(bool, default True): If set True, a default scale value equal to `1./device_count` would be multiplied to - the gradients. Otherwise, a customized scale value should be - feeded to the network. + gradients of each device and scaled gradients would be + aggregated. Otherwise, a customized scale value should be fed + to the network. Returns: A ParallelExecutor object. -- GitLab