MPSGraphDepthwiseConvolution2DOpDescriptor
A class that defines the parameters for a 2D-depthwise convolution operation.
Declaration
class MPSGraphDepthwiseConvolution2DOpDescriptorOverview
An MPSGraphDepthwiseConvolution2DOpDescriptor defines constant parameters for 2D-depthwise convolutions. Use this class with depthwiseConvolution2D(_:weights:descriptor:name:), depthwiseConvolution2DDataGradient(_:weights:outputShape:descriptor:name:), and depthwiseConvolution2DWeightsGradient(_:source:outputShape:descriptor:name:) methods.
Topics
Initializers
init(dataLayout:weightsLayout:)init(strideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingStyle:dataLayout:weightsLayout:)
Instance Properties
dataLayoutdilationRateInXdilationRateInYpaddingBottompaddingLeftpaddingRightpaddingStylepaddingTopstrideInXstrideInYweightsLayout
Instance Methods
See Also
Classes
MPSGraphMPSGraphCompilationDescriptorMPSGraphConvolution2DOpDescriptorMPSGraphConvolution3DOpDescriptorMPSGraphCreateSparseOpDescriptorMPSGraphDepthwiseConvolution3DOpDescriptorMPSGraphDeviceMPSGraphExecutableMPSGraphExecutableExecutionDescriptorMPSGraphExecutableSerializationDescriptorMPSGraphExecutionDescriptorMPSGraphFFTDescriptorMPSGraphGRUDescriptorMPSGraphImToColOpDescriptorMPSGraphLSTMDescriptor