From 3f00f7e0d218ce794cc07dd195457b50d4c809fe Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Mon, 28 Sep 2020 03:40:18 +0000 Subject: [PATCH] fix doc --- python/paddle/regularizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/regularizer.py b/python/paddle/regularizer.py index 6b124ad3981..fb29f219e90 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:: -- GitLab