public class InputTypeUtil extends Object
| Constructor and Description |
|---|
InputTypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static InputType |
getOutputTypeCnn1DLayers(InputType inputType,
int kH,
int sH,
int padH,
int dilation,
ConvolutionMode convolutionMode,
long outputDepth,
long layerIdx,
String layerName,
Class<?> layerClass) |
static InputType |
getOutputTypeCnn3DLayers(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
long outputChannels,
long layerIdx,
String layerName,
Class<?> layerClass) |
static InputType |
getOutputTypeCnnLayers(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
long outputDepth,
long layerIdx,
String layerName,
Class<?> layerClass) |
static InputType |
getOutputTypeDeconvLayer(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
long outputDepth,
long 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, long outputDepth, long layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnn3DLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, long outputChannels, long layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnn1DLayers(InputType inputType, int kH, int sH, int padH, int dilation, ConvolutionMode convolutionMode, long outputDepth, long layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnnLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, long outputDepth, long 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 © 2019. All rights reserved.