diff --git a/python/paddle/fluid/optimizer.py b/python/paddle/fluid/optimizer.py index ff70bcfad53dd0097e3f5431e0362c26d48d7411..165c44b96407bf8e0d359c055ff6d13bf04665c9 100644 --- a/python/paddle/fluid/optimizer.py +++ b/python/paddle/fluid/optimizer.py @@ -2893,7 +2893,7 @@ class FtrlOptimizer(Optimizer): "LinearAccumOut": linear_acc }, attrs={"l1": self._l1, - "l2": self._l1, + "l2": self._l2, "lr_power": self._lr_power}, stop_gradient=True)