提交 45b015be 编写于 作者: Y Yu Yang 提交者: dzhwinter

Fix #6335 (#6343)

上级 de80c569
......@@ -145,7 +145,7 @@ class L1DecayRegularizer(WeightDecayRegularizer):
# import paddle.fluid as fluid
#
# hidden = fluid.layers.fc(...,
# param_attr=ParamAttr(fluid.regularizer.Xavier()))
# param_attr=fluid.regularizer.Xavier())
#
# It is no need to add a `Regularizer` as the class suffix
L1Decay = L1DecayRegularizer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册