torch/nn — pull request #44 by rgoroshin (2014-07-21 22:47:03+00:00)
Title: Added L1Penalty and a unit test.

The L1Penalty module applies L1-regularization to wherever it is added in the network without having to use a criterion. See doc for details.