Kotensor
Toggle table of contents
1.2.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Kotensor
Kotensor
/
io.kotensor.core
/
Attention
/
Attention
Attention
constructor
(
dimension
:
Int
,
numHeads
:
Int
,
numKeyValueHeads
:
Int
=
numHeads
,
ropeTheta
:
Float
=
10000.0f
,
ropeScaling
:
RoPEScaling
?
=
null
,
quantization
:
Quantization
?
=
null
)
(
source
)