combine_penalties {deepregression} | R Documentation |
Function to combine two penalties
combine_penalties(penalties, dims)
penalties |
a list of penalties |
dims |
dimensions of the parameters to penalize |
a TensorFlow penalty combining the two penalties