public class InputTypeUtil extends Object
| Constructor and Description |
|---|
InputTypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static InputType |
getOutputTypeCnn3DLayers(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
int outputChannels,
int layerIdx,
String layerName,
Class<?> layerClass) |
static InputType |
getOutputTypeCnnLayers(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
int outputDepth,
int layerIdx,
String layerName,
Class<?> layerClass) |
static InputType |
getOutputTypeDeconvLayer(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
int outputDepth,
int layerIdx,
String layerName,
Class<?> layerClass) |
static InputPreProcessor |
getPreProcessorForInputTypeCnn3DLayers(InputType inputType,
String layerName)
Utility method for determining the appropriate preprocessor for CNN layers, such as
ConvolutionLayer and
SubsamplingLayer |
static InputPreProcessor |
getPreProcessorForInputTypeCnnLayers(InputType inputType,
String layerName)
Utility method for determining the appropriate preprocessor for CNN layers, such as
ConvolutionLayer and
SubsamplingLayer |
static InputPreProcessor |
getPreprocessorForInputTypeRnnLayers(InputType inputType,
String layerName) |
public static InputType getOutputTypeDeconvLayer(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, int outputDepth, int layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnn3DLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, int outputChannels, int layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnnLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, int outputDepth, int layerIdx, String layerName, Class<?> layerClass)
public static InputPreProcessor getPreProcessorForInputTypeCnn3DLayers(InputType inputType, String layerName)
ConvolutionLayer and
SubsamplingLayerinputType - Input type to get the preprocessor forpublic static InputPreProcessor getPreProcessorForInputTypeCnnLayers(InputType inputType, String layerName)
ConvolutionLayer and
SubsamplingLayerinputType - Input type to get the preprocessor forpublic static InputPreProcessor getPreprocessorForInputTypeRnnLayers(InputType inputType, String layerName)
Copyright © 2018. All rights reserved.