public class DepthwiseConvolution2D extends ConvolutionLayer
Performs a channels-wise convolution, which operates on each of the input maps separately. A channel multiplier is used to specify the number of outputs per input map. This convolution is carried out with the specified kernel sizes, stride and padding values.
Modifier and Type | Class and Description |
---|---|
static class |
DepthwiseConvolution2D.Builder |
ConvolutionLayer.AlgoMode, ConvolutionLayer.BaseConvBuilder<T extends ConvolutionLayer.BaseConvBuilder<T>>, ConvolutionLayer.BwdDataAlgo, ConvolutionLayer.BwdFilterAlgo, ConvolutionLayer.FwdAlgo
convolutionMode, cudnnAlgoMode, cudnnAllowFallback, cudnnBwdDataAlgo, cudnnBwdFilterAlgo, cudnnFwdAlgo, dilation, hasBias, kernelSize, padding, stride
nIn, nOut
activationFn, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, iUpdater, l1, l1Bias, l2, l2Bias, weightInit, weightNoise
constraints, iDropout, layerName
Modifier | Constructor and Description |
---|---|
protected |
DepthwiseConvolution2D(DepthwiseConvolution2D.Builder builder) |
Modifier and Type | Method and Description |
---|---|
DepthwiseConvolution2D |
clone() |
InputType |
getOutputType(int layerIndex,
InputType inputType)
For a given type of input to this layer, what is the type of the output?
|
ParamInitializer |
initializer() |
Layer |
instantiate(NeuralNetConfiguration conf,
Collection<TrainingListener> trainingListeners,
int layerIndex,
INDArray layerParamsView,
boolean initializeParams) |
getL1ByParam, getL2ByParam, getMemoryReport, getPreProcessorForInputType, hasBias, setNIn
isPretrain, isPretrainParam
getGradientNormalization, getUpdaterByParam, resetLayerDefaultConfig
initializeConstraints, setPretrain
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGradientNormalizationThreshold, getLayerName
protected DepthwiseConvolution2D(DepthwiseConvolution2D.Builder builder)
public DepthwiseConvolution2D clone()
clone
in class ConvolutionLayer
public Layer instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners, int layerIndex, INDArray layerParamsView, boolean initializeParams)
instantiate
in class ConvolutionLayer
public ParamInitializer initializer()
initializer
in class ConvolutionLayer
public InputType getOutputType(int layerIndex, InputType inputType)
Layer
getOutputType
in class ConvolutionLayer
layerIndex
- Index of the layerinputType
- Type of input for the layerCopyright © 2018. All rights reserved.