public class InputTypeUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
convertMultipleTypes(InputType[] vertexInputs)
Convert multiple types when multiple are found.
|
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,
Convolution3D.DataFormat dataFormat,
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 |
getOutputTypeCnnLayers(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
long outputDepth,
long layerIdx,
String layerName,
CNN2DFormat format,
Class<?> layerClass) |
static InputType |
getOutputTypeDeconv3dLayer(InputType inputType,
int[] kernelSize,
int[] stride,
int[] padding,
int[] dilation,
ConvolutionMode convolutionMode,
Convolution3D.DataFormat dataFormat,
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,
RNNFormat rnnDataFormat,
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 getOutputTypeDeconv3dLayer(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, Convolution3D.DataFormat dataFormat, long outputDepth, long layerIdx, String layerName, Class<?> layerClass)
public static InputType getOutputTypeCnn3DLayers(InputType inputType, Convolution3D.DataFormat dataFormat, 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)
@Deprecated 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 InputType getOutputTypeCnnLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, long outputDepth, long layerIdx, String layerName, CNN2DFormat format, 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, RNNFormat rnnDataFormat, String layerName)
public static void convertMultipleTypes(InputType[] vertexInputs)
MergeVertex
and ElementWiseVertexvertexInputs - the input types to convertCopyright © 2021. All rights reserved.