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.data
/
DenseTensorDataFactory
/
randomInit
random
Init
open
override
fun
<
T
:
DType
,
V
>
randomInit
(
shape
:
Shape
,
dtype
:
KClass
<
T
>
,
generator
:
(
random
:
Random
)
->
V
,
random
:
Random
)
:
TensorData
<
T
,
V
>
(
source
)