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