fix l1 regularizer (#13881)

test=develop
ce
chengduo 7 years ago committed by GitHub
parent 305034f5b3
commit c40074aa94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -237,6 +237,7 @@ class L1DecayRegularizer(WeightDecayRegularizer):
'Ids': idx},
outputs={'Out': decay},
attrs={'is_sparse': True})
param = decay
# Append sign op
block.append_op(

Loading…
Cancel
Save