From 207827ea020228c1b8f2f38b76e5a8945e743046 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Sun, 27 Sep 2020 12:29:06 +0000 Subject: [PATCH] fix example --- doc/paddle/api/paddle/regularizer/L2Decay_cn.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/paddle/api/paddle/regularizer/L2Decay_cn.rst b/doc/paddle/api/paddle/regularizer/L2Decay_cn.rst index d550d173c..d9faa9bf5 100644 --- a/doc/paddle/api/paddle/regularizer/L2Decay_cn.rst +++ b/doc/paddle/api/paddle/regularizer/L2Decay_cn.rst @@ -26,6 +26,7 @@ L2Decay实现L2权重衰减正则化,用于模型训练,有助于防止模 **代码示例1** .. code-block:: python + # 在optimizer中设置L1正则化 import paddle from paddle.regularizer import L2Decay -- GitLab