public class ReshapePreprocessor extends BaseInputPreProcessor
| Constructor and Description |
|---|
ReshapePreprocessor(long[] inputShape,
long[] targetShape) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
backprop(INDArray output,
int miniBatchSize,
LayerWorkspaceMgr workspaceMgr) |
InputType |
getOutputType(InputType inputType) |
INDArray |
preProcess(INDArray input,
int miniBatchSize,
LayerWorkspaceMgr workspaceMgr) |
clone, feedForwardMaskArraypublic ReshapePreprocessor(long[] inputShape,
long[] targetShape)
public INDArray preProcess(INDArray input, int miniBatchSize, LayerWorkspaceMgr workspaceMgr)
public INDArray backprop(INDArray output, int miniBatchSize, LayerWorkspaceMgr workspaceMgr)
public InputType getOutputType(InputType inputType) throws InvalidInputTypeException
InvalidInputTypeExceptionCopyright © 2018. All rights reserved.