layer_spline {deepregression} | R Documentation |
Function to define spline as TensorFlow layer
layer_spline(
units = 1L,
P,
name,
trainable = TRUE,
kernel_initializer = "glorot_uniform"
)
units |
integer; number of output units |
P |
matrix; penalty matrix |
name |
string; string defining the layer's name |
trainable |
logical; whether layer is trainable |
kernel_initializer |
initializer; for basis coefficients |
TensorFlow layer