Skip to content

Commit 2b52e39

Browse files
tumytimeEcho-Nie
andauthored
[Docathon][Fix Doc Format No.32] fix L1Decay_cn API Docs (#7547)
Co-authored-by: Echo-Nie <[email protected]>
1 parent a2e159a commit 2b52e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/paddle/regularizer/L1Decay_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ L1Decay 实现 L1 权重衰减正则化,用于模型训练,使得权重矩
1111
(例如 :ref:`cn_api_paddle_optimizer_Momentum` )中,在 ``ParamAttr`` 中设置时,只对该
1212
网络层中的可训练参数生效;在 ``optimizer`` 中设置时,会对所有的可训练参数生效;如果同时设置,在
1313
``ParamAttr`` 中设置的优先级会高于在 ``optimizer`` 中的设置,即,对于一个可训练的参数,如果在
14-
``ParamAttr`` 中定义了正则化,那么会忽略 ``optimizer`` 中的正则化;否则会使用 ``optimizer``中的
14+
``ParamAttr`` 中定义了正则化,那么会忽略 ``optimizer`` 中的正则化;否则会使用 ``optimizer`` 中的
1515
正则化。
1616

1717
具体实现中,L1 权重衰减正则化的损失函数计算如下:

0 commit comments

Comments
 (0)