L1-regularization for a single matrix

You would have to iterate the parameters as shown in this example.

1 Like