public class CudnnBatchNormalizationHelper extends java.lang.Object implements BatchNormalizationHelper
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
CudnnBatchNormalizationHelper() |
Modifier and Type | Method and Description |
---|---|
Pair<Gradient,org.nd4j.linalg.api.ndarray.INDArray> |
backpropGradient(org.nd4j.linalg.api.ndarray.INDArray input,
org.nd4j.linalg.api.ndarray.INDArray epsilon,
int[] shape,
org.nd4j.linalg.api.ndarray.INDArray gamma,
org.nd4j.linalg.api.ndarray.INDArray dGammaView,
org.nd4j.linalg.api.ndarray.INDArray dBetaView,
double eps) |
org.nd4j.linalg.api.ndarray.INDArray |
preOutput(org.nd4j.linalg.api.ndarray.INDArray x,
boolean training,
int[] shape,
org.nd4j.linalg.api.ndarray.INDArray gamma,
org.nd4j.linalg.api.ndarray.INDArray beta,
org.nd4j.linalg.api.ndarray.INDArray mean,
org.nd4j.linalg.api.ndarray.INDArray var,
double decay,
double eps) |
public Pair<Gradient,org.nd4j.linalg.api.ndarray.INDArray> backpropGradient(org.nd4j.linalg.api.ndarray.INDArray input, org.nd4j.linalg.api.ndarray.INDArray epsilon, int[] shape, org.nd4j.linalg.api.ndarray.INDArray gamma, org.nd4j.linalg.api.ndarray.INDArray dGammaView, org.nd4j.linalg.api.ndarray.INDArray dBetaView, double eps)
backpropGradient
in interface BatchNormalizationHelper
public org.nd4j.linalg.api.ndarray.INDArray preOutput(org.nd4j.linalg.api.ndarray.INDArray x, boolean training, int[] shape, org.nd4j.linalg.api.ndarray.INDArray gamma, org.nd4j.linalg.api.ndarray.INDArray beta, org.nd4j.linalg.api.ndarray.INDArray mean, org.nd4j.linalg.api.ndarray.INDArray var, double decay, double eps)
preOutput
in interface BatchNormalizationHelper