layer_spline: Function to define spline as TensorFlow layer

View source: R/psplinelayer.R

layer_splineR Documentation

Function to define spline as TensorFlow layer

Description

Function to define spline as TensorFlow layer

Usage

layer_spline(
  units = 1L,
  P,
  name,
  trainable = TRUE,
  kernel_initializer = "glorot_uniform"
)

Arguments

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

Value

TensorFlow layer


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