Skip to content

Commit 45b015b

Browse files
reyoungdzhwinter
authored andcommitted
Fix #6335 (#6343)
1 parent de80c56 commit 45b015b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/v2/fluid/regularizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def __call__(self, param, block):
145145
# import paddle.fluid as fluid
146146
#
147147
# hidden = fluid.layers.fc(...,
148-
# param_attr=ParamAttr(fluid.regularizer.Xavier()))
148+
# param_attr=fluid.regularizer.Xavier())
149149
#
150150
# It is no need to add a `Regularizer` as the class suffix
151151
L1Decay = L1DecayRegularizer

0 commit comments

Comments
 (0)