public interface DBatchNorm<T extends deepboof.Tensor<T>>
extends deepboof.forward.BatchNorm, deepboof.DFunction<T>
batch normalization for training networks.
The mean and standard deviation is always computed on the forwards pass. Unlike the forward only
implementation the only parameters (which are optional) are gamma and beta.| Modifier and Type | Method and Description |
|---|---|
T |
getMean(T output)
Returns the most recently computed mean for each variable in the tensor.
|
T |
getVariance(T output)
Returns the most recently computed variance for each variable.
|