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
/
QuantizedLinear
Quantized
Linear
class
QuantizedLinear
(
inSize
:
Int
,
outSize
:
Int
,
val
quantization
:
Quantization
)
:
Projection
(
source
)
Members
Constructors
Quantized
Linear
Link copied to clipboard
constructor
(
inSize
:
Int
,
outSize
:
Int
,
quantization
:
Quantization
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
bias
Link copied to clipboard
open
override
val
bias
:
Tensor
in
Size
Link copied to clipboard
val
inSize
:
Int
out
Size
Link copied to clipboard
val
outSize
:
Int
quantization
Link copied to clipboard
val
quantization
:
Quantization
requires
Grad
Link copied to clipboard
var
requiresGrad
:
Boolean
size
In
Bytes
Link copied to clipboard
val
sizeInBytes
:
Long
weight
Link copied to clipboard
var
weight
:
QuantizedTensor
Functions
forward
Link copied to clipboard
open
override
fun
forward
(
input
:
Tensor
)
:
Tensor
forward
Into
Link copied to clipboard
open
override
fun
forwardInto
(
input
:
Tensor
,
out
:
Tensor
)
:
Tensor
invoke
Link copied to clipboard
operator
fun
invoke
(
input
:
Tensor
)
:
Tensor
parameters
Link copied to clipboard
open
override
fun
parameters
(
)
:
List
<
Tensor
>