public class ZeroMeanPrePreProcessor extends BaseInputPreProcessor
Constructor and Description |
---|
ZeroMeanPrePreProcessor() |
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.api.ndarray.INDArray |
backprop(org.nd4j.linalg.api.ndarray.INDArray output,
int miniBatchSize)
Reverse the preProcess during backprop.
|
InputType |
getOutputType(InputType inputType)
For a given type of input to this preprocessor, what is the type of the output?
|
org.nd4j.linalg.api.ndarray.INDArray |
preProcess(org.nd4j.linalg.api.ndarray.INDArray input,
int miniBatchSize)
Pre preProcess input/activations for a multi layer network
|
clone, feedForwardMaskArray
public org.nd4j.linalg.api.ndarray.INDArray preProcess(org.nd4j.linalg.api.ndarray.INDArray input, int miniBatchSize)
InputPreProcessor
input
- the input to pre preProcesspublic org.nd4j.linalg.api.ndarray.INDArray backprop(org.nd4j.linalg.api.ndarray.INDArray output, int miniBatchSize)
InputPreProcessor
output
- which is a pair of the gradient and epsilonpublic InputType getOutputType(InputType inputType)
InputPreProcessor
inputType
- Type of input for the preprocessor