From be069fc02fb6a57b292325934444f11a66275280 Mon Sep 17 00:00:00 2001 From: sandyhouse Date: Sun, 7 Mar 2021 21:09:52 +0800 Subject: [PATCH] update --- python/paddle/fluid/optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/optimizer.py b/python/paddle/fluid/optimizer.py index 4d5773c7675..dc677849dce 100644 --- a/python/paddle/fluid/optimizer.py +++ b/python/paddle/fluid/optimizer.py @@ -5002,7 +5002,7 @@ class PipelineOptimizer(object): # self._op_role_key: self._op_role.Backward, # # self._op_role_var_key: op_role_var # }) - return accumulated_gradient_names, first_optimize_op_index + return accumulated_grad_names def _add_sub_blocks(self, main_block, program_list): main_program = main_block.program -- GitLab