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 Sept. 9, 2025, 5:27 p.m.