combine_penalties: Function to combine two penalties
Description
Function to combine two penalties
Usage
combine_penalties(penalties, dims)
Value
a TensorFlow penalty combining the two penalties
Arguments
- penalties
a list of penalties
- dims
dimensions of the parameters to penalize