Assume we want to customize L1 Loss Regularization.
An example for one parameter.
An example for each layer.