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