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
/
QuantizedTensor
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
empty
Link copied to clipboard
fun
empty
(
rows
:
Int
,
columns
:
Int
,
quantization
:
Quantization
)
:
QuantizedTensor
quantize
Link copied to clipboard
fun
quantize
(
tensor
:
Tensor
,
quantization
:
Quantization
)
:
QuantizedTensor
fun
quantize
(
data
:
FloatArray
,
rows
:
Int
,
columns
:
Int
,
quantization
:
Quantization
)
:
QuantizedTensor