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
/
Projection
Projection
abstract
class
Projection
(
val
inSize
:
Int
,
val
outSize
:
Int
)
:
Module
(
source
)
Inheritors
Linear
QuantizedLinear
Members
Constructors
Projection
Link copied to clipboard
constructor
(
inSize
:
Int
,
outSize
:
Int
)
Properties
bias
Link copied to clipboard
abstract
val
bias
:
Tensor
in
Size
Link copied to clipboard
val
inSize
:
Int
out
Size
Link copied to clipboard
val
outSize
:
Int
requires
Grad
Link copied to clipboard
var
requiresGrad
:
Boolean
Functions
forward
Link copied to clipboard
abstract
fun
forward
(
input
:
Tensor
)
:
Tensor
forward
Into
Link copied to clipboard
open
fun
forwardInto
(
input
:
Tensor
,
out
:
Tensor
)
:
Tensor
invoke
Link copied to clipboard
operator
fun
invoke
(
input
:
Tensor
)
:
Tensor
parameters
Link copied to clipboard
open
fun
parameters
(
)
:
List
<
Tensor
>