Uses of Class
org.deeplearning4j.nn.conf.CNN2DFormat
-
-
Uses of CNN2DFormat in org.deeplearning4j.nn.conf
Methods in org.deeplearning4j.nn.conf that return CNN2DFormat Modifier and Type Method Description static CNN2DFormatCNN2DFormat. valueOf(String name)Returns the enum constant of this type with the specified name.static CNN2DFormat[]CNN2DFormat. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of CNN2DFormat in org.deeplearning4j.nn.conf.inputs
Methods in org.deeplearning4j.nn.conf.inputs that return CNN2DFormat Modifier and Type Method Description static CNN2DFormatInputType. getDefaultCNN2DFormat()Methods in org.deeplearning4j.nn.conf.inputs with parameters of type CNN2DFormat Modifier and Type Method Description static InputTypeInputType. convolutional(long height, long width, long depth, CNN2DFormat format)static voidInputType. setDefaultCNN2DFormat(CNN2DFormat defaultCNN2DFormat)Constructors in org.deeplearning4j.nn.conf.inputs with parameters of type CNN2DFormat Constructor Description InputTypeConvolutional(long height, long width, long channels, CNN2DFormat format) -
Uses of CNN2DFormat in org.deeplearning4j.nn.conf.layers
Fields in org.deeplearning4j.nn.conf.layers declared as CNN2DFormat Modifier and Type Field Description protected CNN2DFormatConvolutionLayer. cnn2dDataFormatprotected CNN2DFormatSubsamplingLayer. cnn2dDataFormatprotected CNN2DFormatBatchNormalization.Builder. cnn2DFormatprotected CNN2DFormatBatchNormalization. cnn2DFormatprotected CNN2DFormatDepthwiseConvolution2D.Builder. cnn2DFormatprotected CNN2DFormatSubsamplingLayer.BaseSubsamplingBuilder. cnn2DFormatConfigure the 2d data formatprotected CNN2DFormatConvolutionLayer.Builder. dataFormatprotected CNN2DFormatLocalResponseNormalization.Builder. dataFormatprotected CNN2DFormatLocalResponseNormalization. dataFormatprotected CNN2DFormatSeparableConvolution2D.Builder. dataFormatprotected CNN2DFormatSpaceToDepthLayer.Builder. dataFormatData format for input activations.protected CNN2DFormatSpaceToDepthLayer. dataFormatstatic CNN2DFormatSubsamplingLayer. DEFAULT_FORMATprotected CNN2DFormatCnnLossLayer.Builder. formatprotected CNN2DFormatCnnLossLayer. formatprotected CNN2DFormatLocallyConnected2D.Builder. formatprotected CNN2DFormatLocallyConnected2D. formatprotected CNN2DFormatSpaceToBatchLayer.Builder. formatprotected CNN2DFormatSpaceToBatchLayer. formatprotected CNN2DFormatUpsampling2D.Builder. formatprotected CNN2DFormatUpsampling2D. formatMethods in org.deeplearning4j.nn.conf.layers that return CNN2DFormat Modifier and Type Method Description CNN2DFormatSpaceToDepthLayer.DataFormat. toFormat()Deprecated.Methods in org.deeplearning4j.nn.conf.layers with parameters of type CNN2DFormat Modifier and Type Method Description BatchNormalization.BuilderBatchNormalization.Builder. dataFormat(CNN2DFormat format)Set the input and output array data format.ConvolutionLayer.BuilderConvolutionLayer.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).Deconvolution2D.BuilderDeconvolution2D.Builder. dataFormat(CNN2DFormat format)DepthwiseConvolution2D.BuilderDepthwiseConvolution2D.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).LocallyConnected2D.BuilderLocallyConnected2D.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).LocalResponseNormalization.BuilderLocalResponseNormalization.Builder. dataFormat(CNN2DFormat dataFormat)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).SeparableConvolution2D.BuilderSeparableConvolution2D.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).TSpaceToBatchLayer.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).TSpaceToDepthLayer.Builder. dataFormat(CNN2DFormat dataFormat)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).TSubsamplingLayer.BaseSubsamplingBuilder. dataFormat(CNN2DFormat cnn2DFormat)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).Upsampling2D.BuilderUpsampling2D.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).ZeroPaddingLayer.BuilderZeroPaddingLayer.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).CnnLossLayer.BuilderCnnLossLayer.Builder. format(CNN2DFormat format)static InputTypeInputTypeUtil. getOutputTypeCnnLayers(InputType inputType, int[] kernelSize, int[] stride, int[] padding, int[] dilation, ConvolutionMode convolutionMode, long outputDepth, long layerIdx, String layerName, CNN2DFormat format, Class<?> layerClass)voidConvolutionLayer.Builder. setDataFormat(CNN2DFormat dataFormat)voidSubsamplingLayer.Builder. setDataFormat(CNN2DFormat format)Constructors in org.deeplearning4j.nn.conf.layers with parameters of type CNN2DFormat Constructor Description Builder(int blockSize, CNN2DFormat dataFormat) -
Uses of CNN2DFormat in org.deeplearning4j.nn.conf.layers.convolutional
Methods in org.deeplearning4j.nn.conf.layers.convolutional with parameters of type CNN2DFormat Modifier and Type Method Description Cropping2D.BuilderCropping2D.Builder. dataFormat(CNN2DFormat format)Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last).Constructors in org.deeplearning4j.nn.conf.layers.convolutional with parameters of type CNN2DFormat Constructor Description Cropping2D(CNN2DFormat dataFormat, int cropTopBottom, int cropLeftRight)Cropping2D(CNN2DFormat format, int cropTop, int cropBottom, int cropLeft, int cropRight) -
Uses of CNN2DFormat in org.deeplearning4j.nn.conf.preprocessor
Fields in org.deeplearning4j.nn.conf.preprocessor declared as CNN2DFormat Modifier and Type Field Description protected CNN2DFormatCnnToFeedForwardPreProcessor. formatConstructors in org.deeplearning4j.nn.conf.preprocessor with parameters of type CNN2DFormat Constructor Description CnnToFeedForwardPreProcessor(long inputHeight, long inputWidth, long numChannels, CNN2DFormat format) -
Uses of CNN2DFormat in org.deeplearning4j.nn.layers.convolution
Methods in org.deeplearning4j.nn.layers.convolution with parameters of type CNN2DFormat Modifier and Type Method Description Pair<Gradient,INDArray>ConvolutionHelper. backpropGradient(INDArray input, INDArray weights, INDArray bias, INDArray delta, int[] kernel, int[] strides, int[] pad, INDArray biasGradView, INDArray weightGradView, IActivation afn, ConvolutionLayer.AlgoMode mode, ConvolutionLayer.BwdFilterAlgo bwdFilterAlgo, ConvolutionLayer.BwdDataAlgo bwdDataAlgo, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)INDArrayConvolutionHelper. preOutput(INDArray input, INDArray weights, INDArray bias, int[] kernel, int[] strides, int[] pad, ConvolutionLayer.AlgoMode mode, ConvolutionLayer.FwdAlgo fwdAlgo, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr) -
Uses of CNN2DFormat in org.deeplearning4j.nn.layers.convolution.subsampling
Methods in org.deeplearning4j.nn.layers.convolution.subsampling with parameters of type CNN2DFormat Modifier and Type Method Description INDArraySubsamplingHelper. activate(INDArray input, boolean training, int[] kernel, int[] strides, int[] pad, PoolingType poolingType, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)Pair<Gradient,INDArray>SubsamplingHelper. backpropGradient(INDArray input, INDArray epsilon, int[] kernel, int[] strides, int[] pad, PoolingType poolingType, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr) -
Uses of CNN2DFormat in org.deeplearning4j.nn.layers.convolution.upsampling
Methods in org.deeplearning4j.nn.layers.convolution.upsampling that return CNN2DFormat Modifier and Type Method Description protected CNN2DFormatUpsampling1D. getFormat()protected CNN2DFormatUpsampling2D. getFormat() -
Uses of CNN2DFormat in org.deeplearning4j.nn.layers.mkldnn
Methods in org.deeplearning4j.nn.layers.mkldnn with parameters of type CNN2DFormat Modifier and Type Method Description INDArrayMKLDNNSubsamplingHelper. activate(INDArray input, boolean training, int[] kernel, int[] strides, int[] pad, PoolingType poolingType, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)Pair<Gradient,INDArray>MKLDNNBatchNormHelper. backpropGradient(INDArray input, INDArray epsilon, long[] shape, INDArray gamma, INDArray beta, INDArray dGammaView, INDArray dBetaView, double eps, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)Pair<Gradient,INDArray>MKLDNNConvHelper. backpropGradient(INDArray input, INDArray weights, INDArray bias, INDArray delta, int[] kernel, int[] strides, int[] pad, INDArray biasGradView, INDArray weightGradView, IActivation afn, ConvolutionLayer.AlgoMode mode, ConvolutionLayer.BwdFilterAlgo bwdFilterAlgo, ConvolutionLayer.BwdDataAlgo bwdDataAlgo, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)Pair<Gradient,INDArray>MKLDNNSubsamplingHelper. backpropGradient(INDArray input, INDArray epsilon, int[] kernel, int[] strides, int[] pad, PoolingType poolingType, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)INDArrayMKLDNNBatchNormHelper. preOutput(INDArray x, boolean training, long[] shape, INDArray gamma, INDArray beta, INDArray mean, INDArray var, double decay, double eps, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)INDArrayMKLDNNConvHelper. preOutput(INDArray input, INDArray weights, INDArray bias, int[] kernel, int[] strides, int[] pad, ConvolutionLayer.AlgoMode mode, ConvolutionLayer.FwdAlgo fwdAlgo, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr) -
Uses of CNN2DFormat in org.deeplearning4j.nn.layers.normalization
Methods in org.deeplearning4j.nn.layers.normalization with parameters of type CNN2DFormat Modifier and Type Method Description Pair<Gradient,INDArray>BatchNormalizationHelper. backpropGradient(INDArray input, INDArray epsilon, long[] shape, INDArray gamma, INDArray beta, INDArray dGammaView, INDArray dBetaView, double eps, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr)INDArrayBatchNormalizationHelper. preOutput(INDArray x, boolean training, long[] shape, INDArray gamma, INDArray beta, INDArray mean, INDArray var, double decay, double eps, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr) -
Uses of CNN2DFormat in org.deeplearning4j.util
Methods in org.deeplearning4j.util that return CNN2DFormat Modifier and Type Method Description static CNN2DFormatConvolutionUtils. getFormatForLayer(Layer layer)Get the format for a given layer.Methods in org.deeplearning4j.util with parameters of type CNN2DFormat Modifier and Type Method Description static INDArrayConvolutionUtils. adapt2dMask(INDArray mask, INDArray output, @NonNull CNN2DFormat format, LayerWorkspaceMgr workspaceMgr, ArrayType type)static int[]ConvolutionUtils. getDeconvolutionOutputSize(INDArray inputData, int[] kernel, int[] strides, int[] padding, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format)Get the output size of a deconvolution operation for given input data.static int[]ConvolutionUtils. getOutputSize(INDArray inputData, int[] kernel, int[] strides, int[] padding, ConvolutionMode convolutionMode, int[] dilation, CNN2DFormat format)Get the output size (height/width) for the given input data and CNN configurationstatic INDArrayConvolutionUtils. reshape2dTo4d(INDArray in2d, long[] toShape, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr, ArrayType type)static INDArrayConvolutionUtils. reshape4dTo2d(INDArray in, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr, ArrayType type)static INDArrayConvolutionUtils. reshapeMaskIfRequired(INDArray mask, INDArray output, CNN2DFormat format, LayerWorkspaceMgr workspaceMgr, ArrayType type)
-