From 07ab9ce4e7622b01a3acd3f71b9e9b4f8b09b7fe Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Tue, 10 Jul 2018 15:25:00 +0800 Subject: [PATCH] update the comments --- python/paddle/fluid/backward.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/backward.py b/python/paddle/fluid/backward.py index 71a1653cf4d..e7a065599ec 100644 --- a/python/paddle/fluid/backward.py +++ b/python/paddle/fluid/backward.py @@ -123,7 +123,8 @@ def _append_grad_suffix_(name): def _addup_repetitive_outputs_(op_descs): """ In backward part, an variable may be the output of more than one ops. - In this case, the variable should be the accumulation of all the outputs. + And one op may yield its multiple outputs to the same variable. + In these cases, the variable should be the accumulation of all the outputs. `sum_op`s are added to implement the accumulate. """ pending_sum_ops = [] -- GitLab