diff --git a/python/paddle/regularizer.py b/python/paddle/regularizer.py index 6b124ad39817faf31922b3310cd1e920014c89c7..fb29f219e90b6223a547a7dbca570085fe3ffd9c 100644 --- a/python/paddle/regularizer.py +++ b/python/paddle/regularizer.py @@ -28,7 +28,7 @@ class L1Decay(fluid.regularizer.L1Decay): in its ParamAttr, then the regularizer in Optimizer will be ignored. Otherwise the regularizer in Optimizer will be used. - In the implementation, the penalty of L1 Weight Decay Regularization is as follows: + In the implementation, the loss function of L1 Weight Decay Regularization is as follows: .. math:: @@ -90,7 +90,7 @@ class L2Decay(fluid.regularizer.L2Decay): in its ParamAttr, then the regularizer in Optimizer will be ignored. Otherwise the regularizer in Optimizer will be used. - In the implementation, the penalty of L2 Weight Decay Regularization is as follows: + In the implementation, the loss function of L2 Weight Decay Regularization is as follows: .. math::