init(strideInX:strideInY:dilationRateInX:dilationRateInY:groups:paddingStyle:dataLayout:weightsLayout:)
Creates a convolution descriptor with given values for parameters.
Declaration
convenience init?(strideInX: Int, strideInY: Int, dilationRateInX: Int, dilationRateInY: Int, groups: Int, paddingStyle: MPSGraphPaddingStyle, dataLayout: MPSGraphTensorNamedDataLayout, weightsLayout: MPSGraphTensorNamedDataLayout)Parameters
- strideInX:
See Strideinx property.
- strideInY:
See Strideiny property.
- dilationRateInX:
See Dilationrateinx property.
- dilationRateInY:
See Dilationrateiny property.
- groups:
See Groups property.
- paddingStyle:
See Paddingstyle property.
- dataLayout:
See Datalayout property.
- weightsLayout:
See Weightslayout property.
Return Value
The MPSGraphConvolution2DOpDescriptor on autoreleasepool.