Setter for regularization parameters of Net.