SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.lang.tensor.dsl
/
MLPWeights
/
ones
ones
fun
ones
(
inputSize
:
Int
,
outputSize
:
Int
)
:
TensorInitializer
<
T
,
V
>
(
source
)
Creates a weight matrix initialized with ones
Parameters
input
Size
number of input features
output
Size
number of output features