public class RnnToCnnPreProcessor extends Object implements InputPreProcessor
| Constructor and Description |
|---|
RnnToCnnPreProcessor(int inputHeight,
int inputWidth,
int numChannels) |
| 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.
|
RnnToCnnPreProcessor |
clone() |
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
|
public RnnToCnnPreProcessor(int inputHeight,
int inputWidth,
int numChannels)
public org.nd4j.linalg.api.ndarray.INDArray preProcess(org.nd4j.linalg.api.ndarray.INDArray input,
int miniBatchSize)
InputPreProcessorpreProcess in interface InputPreProcessorinput - the input to pre preProcesspublic org.nd4j.linalg.api.ndarray.INDArray backprop(org.nd4j.linalg.api.ndarray.INDArray output,
int miniBatchSize)
InputPreProcessorbackprop in interface InputPreProcessoroutput - which is a pair of the gradient and epsilonpublic RnnToCnnPreProcessor clone()
clone in interface InputPreProcessorclone in class Objectpublic InputType getOutputType(InputType inputType)
InputPreProcessorgetOutputType in interface InputPreProcessorinputType - Type of input for the preprocessorCopyright © 2016. All Rights Reserved.