Learn R Programming

deepregression (version 2.2.0)

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