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.FwdAlgoconvolutionMode, cudnnAlgoMode, cudnnAllowFallback, cudnnBwdDataAlgo, cudnnBwdFilterAlgo, cudnnFwdAlgo, dilation, hasBias, kernelSize, padding, stridenIn, nOutactivationFn, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, iUpdater, l1, l1Bias, l2, l2Bias, weightInit, weightNoiseconstraints, 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,
org.nd4j.linalg.api.ndarray.INDArray layerParamsView,
boolean initializeParams) |
getL1ByParam, getL2ByParam, getMemoryReport, getPreProcessorForInputType, hasBias, setNInisPretrainParamgetUpdaterByParam, resetLayerDefaultConfiginitializeConstraintsprotected DepthwiseConvolution2D(DepthwiseConvolution2D.Builder builder)
public DepthwiseConvolution2D clone()
clone in class ConvolutionLayerpublic Layer instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners, int layerIndex, org.nd4j.linalg.api.ndarray.INDArray layerParamsView, boolean initializeParams)
instantiate in class ConvolutionLayerpublic ParamInitializer initializer()
initializer in class ConvolutionLayerpublic InputType getOutputType(int layerIndex, InputType inputType)
LayergetOutputType in class ConvolutionLayerlayerIndex - Index of the layerinputType - Type of input for the layerCopyright © 2018. All rights reserved.