diff --git a/python/paddle/fleet/base/fleet_base.py b/python/paddle/fleet/base/fleet_base.py index 463a615659329ed4d5b750db1c50f251095b5c53..a9238df629245d9ccae8e71226bac2a1c1c74af3 100644 --- a/python/paddle/fleet/base/fleet_base.py +++ b/python/paddle/fleet/base/fleet_base.py @@ -335,7 +335,7 @@ class Fleet(object): no_grad_set=no_grad_set) if graph_optimizer: - optimizer_ops, params_grads = graph_optimizer.minimize( + optimize_ops, params_grads = graph_optimizer.minimize( loss, startup_program=startup_program, parameter_list=parameter_list,