combine_penalties: Function to combine two penalties

View source: R/helperfuns.R

combine_penaltiesR Documentation

Function to combine two penalties

Description

Function to combine two penalties

Usage

combine_penalties(penalties, dims)

Arguments

penalties

a list of penalties

dims

dimensions of the parameters to penalize

Value

a TensorFlow penalty combining the two penalties


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.