Open amirkhango opened 8 years ago
The weightDecay in Torch refers to L2, Yes? So How can I implemment L1 weightDecay?
Example code for L1 and L2 weight decay (which is added manually in the training loop) can be found here.
The weightDecay in Torch refers to L2, Yes? So How can I implemment L1 weightDecay?