KAN

interface KAN<T : DType, V> : NetworkDslItem(source)

DSL surface for configuring a Kolmogorov–Arnold Network layer.

Inheritors

Properties

Link copied to clipboard
abstract var baseActivation: (Tensor<T, V>) -> Tensor<T, V>
Link copied to clipboard
abstract var degree: Int
Link copied to clipboard
abstract var gridSize: Int
Link copied to clipboard
abstract var outputDim: Int
Link copied to clipboard
abstract var useBias: Boolean
Link copied to clipboard
abstract var useResidual: Boolean

Functions

Link copied to clipboard
abstract fun basis(initBlock: WeightsScope<T, V>.(Shape) -> Tensor<T, V>)
Link copied to clipboard
abstract fun bias(initBlock: BiasScope<T, V>.(Shape) -> Tensor<T, V>)
Link copied to clipboard
abstract fun weights(initBlock: WeightsScope<T, V>.(Shape) -> Tensor<T, V>)