golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
BatchNorm.opCall
golem
nn
BatchNorm
Undocumented in source. Be warned that the author may not have intended to support it.
class
BatchNorm
(T, size_t[] Shape, UseGradient useGrad = UseGradient.yes)
auto
opCall
(
size_t
[]
ShapeX
UseGradient
useGradX
)
(
Tensor
!(
T
,
ShapeX
,
useGradX
)
x
,
bool
isTrain
)
Meta
Source
See Implementation
golem
nn
BatchNorm
aliases
parameters
constructors
this
functions
opCall
variables
factor
mean
momentum
offset
tempMean
tempVar
temps
var