DepthwiseConv2D
class DepthwiseConv2D(kernelSize: LongArray, strides: LongArray, dilations: LongArray, activation: Activations, depthMultiplier: Int, depthwiseInitializer: Initializer, biasInitializer: Initializer, depthwiseRegularizer: Regularizer?, biasRegularizer: Regularizer?, activityRegularizer: Regularizer?, padding: ConvPadding, useBias: Boolean, name: String) : AbstractConv, NoGradients
Content copied to clipboard
Depthwise separable 2D convolution. (e.g. spatial convolution over images).
Depthwise Separable convolutions consist of performing just the first step in a depthwise spatial convolution (which acts on each input channel separately). The depthMultiplier
argument controls how many output channels are generated per input channel in the depthwise step.
Since
0.2
Constructors
DepthwiseConv2D
Link copied to clipboard
fun DepthwiseConv2D(kernelSize: LongArray = longArrayOf(3, 3), strides: LongArray = longArrayOf(1, 1, 1, 1), dilations: LongArray = longArrayOf(1, 1, 1, 1), activation: Activations = Activations.Relu, depthMultiplier: Int = 1, depthwiseInitializer: Initializer = HeNormal(), biasInitializer: Initializer = HeUniform(), depthwiseRegularizer: Regularizer? = null, biasRegularizer: Regularizer? = null, activityRegularizer: Regularizer? = null, padding: ConvPadding = ConvPadding.SAME, useBias: Boolean = true, name: String = "")
Content copied to clipboard
Creates DepthwiseConv2D object.
Functions
buildFromInboundLayers
Link copied to clipboard
Extend this function to define variables in layer.
computeOutputShape
Link copied to clipboard
Computes output shape, based on inputShape and Layer type.
computeOutputShapeFromInboundLayers
Link copied to clipboard
Computes output shape, based on input shapes of inbound layers.
forward
Link copied to clipboard
Properties
activation
Link copied to clipboard
activityRegularizer
Link copied to clipboard
biasInitializer
Link copied to clipboard
biasRegularizer
Link copied to clipboard
biasShapeArray
Link copied to clipboard
depthMultiplier
Link copied to clipboard
depthwiseInitializer
Link copied to clipboard
depthwiseRegularizer
Link copied to clipboard
hasActivation
Link copied to clipboard
inboundLayers
Link copied to clipboard
isTrainable
Link copied to clipboard
kernelShapeArray
Link copied to clipboard
kernelSize
Link copied to clipboard
outboundLayers
Link copied to clipboard
outputShape
Link copied to clipboard
padding
Link copied to clipboard
paramCount
Link copied to clipboard
parentModel
Link copied to clipboard