api
api
/
org.diffkt.model
/
Initializer
Initializer
object
Initializer
Content copied to clipboard
Types
Functions
Types
kaiming
Uniform
Link copied to clipboard
object
kaimingUniform
Content copied to clipboard
Functions
gaussian
Link copied to clipboard
fun
gaussian
(
mean
:
Float
=
0.0f
,
variance
:
Float
=
1.0f
)
:
(
Shape
,
Random
)
->
FloatTensor
Content copied to clipboard
Initializer producing normally distributed random values with provided mean and variance.
uniform
Link copied to clipboard
fun
uniform
(
min
:
Float
=
0.0f
,
max
:
Float
=
1.0f
)
:
(
Shape
,
Random
)
->
FloatTensor
Content copied to clipboard