golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
uniform
golem
random
Undocumented in source. Be warned that the author may not have intended to support it.
Tensor
!(
T
,
Shape
,
useGradient
)
uniform
()
Tensor
!(
T
,
Shape
,
useGradient
)
uniform
(
T
size_t
[]
Shape
UseGradient
useGradient
=
UseGradient.yes
)
(
)
if
(
Shape.length
> 0
)
Tensor
!(
T
,
Shape
,
useGradient
)
uniform
(size_t size)
Meta
Source
See Implementation
golem
random
aliases
randn
functions
normal
normalLike
uniform