SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-kan
/
sk.ainet.lang.kan
/
KAN
KAN
interface
KAN
<
T
:
DType
,
V
>
:
NetworkDslItem
(
source
)
DSL surface for configuring a Kolmogorov–Arnold Network layer.
Inheritors
KanDslImpl
Members
Properties
base
Activation
Link copied to clipboard
abstract
var
baseActivation
:
(
Tensor
<
T
,
V
>
)
->
Tensor
<
T
,
V
>
degree
Link copied to clipboard
abstract
var
degree
:
Int
grid
Size
Link copied to clipboard
abstract
var
gridSize
:
Int
output
Dim
Link copied to clipboard
abstract
var
outputDim
:
Int
use
Bias
Link copied to clipboard
abstract
var
useBias
:
Boolean
use
Residual
Link copied to clipboard
abstract
var
useResidual
:
Boolean
Functions
basis
Link copied to clipboard
abstract
fun
basis
(
initBlock
:
WeightsScope
<
T
,
V
>
.
(
Shape
)
->
Tensor
<
T
,
V
>
)
bias
Link copied to clipboard
abstract
fun
bias
(
initBlock
:
BiasScope
<
T
,
V
>
.
(
Shape
)
->
Tensor
<
T
,
V
>
)
weights
Link copied to clipboard
abstract
fun
weights
(
initBlock
:
WeightsScope
<
T
,
V
>
.
(
Shape
)
->
Tensor
<
T
,
V
>
)