---
title: MLCConvolutionDescriptor
framework: ML Compute
role: symbol
role_heading: Class
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcconvolutiondescriptor
---

# MLCConvolutionDescriptor

A configuration object you use to create a convolution or fully connected layer.

## Declaration

```swift
class MLCConvolutionDescriptor
```

## Topics

### Creating Convolution Descriptors

- [init(type:kernelSizes:inputFeatureChannelCount:outputFeatureChannelCount:groupCount:strides:dilationRates:paddingPolicy:)](mlcompute/mlcconvolutiondescriptor/init(type:kernelsizes:inputfeaturechannelcount:outputfeaturechannelcount:groupcount:strides:dilationrates:paddingpolicy:).md)
- [init(transposeWithKernelWidth:kernelHeight:inputFeatureChannelCount:outputFeatureChannelCount:)](mlcompute/mlcconvolutiondescriptor/init(transposewithkernelwidth:kernelheight:inputfeaturechannelcount:outputfeaturechannelcount:).md)
- [init(depthwiseWithKernelWidth:kernelHeight:inputFeatureChannelCount:channelMultiplier:)](mlcompute/mlcconvolutiondescriptor/init(depthwisewithkernelwidth:kernelheight:inputfeaturechannelcount:channelmultiplier:).md)
- [MLCConvolutionType](mlcompute/mlcconvolutiontype.md)

### Inspecting Convolution Descriptors

- [convolutionType](mlcompute/mlcconvolutiondescriptor/convolutiontype.md)
- [kernelSizes](mlcompute/mlcconvolutiondescriptor/kernelsizes.md)
- [inputFeatureChannelCount](mlcompute/mlcconvolutiondescriptor/inputfeaturechannelcount.md)
- [outputFeatureChannelCount](mlcompute/mlcconvolutiondescriptor/outputfeaturechannelcount.md)
- [strides](mlcompute/mlcconvolutiondescriptor/strides.md)
- [dilationRates](mlcompute/mlcconvolutiondescriptor/dilationrates.md)
- [groupCount](mlcompute/mlcconvolutiondescriptor/groupcount.md)
- [paddingPolicy](mlcompute/mlcconvolutiondescriptor/paddingpolicy-61tq3.md)
- [isConvolutionTranspose](mlcompute/mlcconvolutiondescriptor/isconvolutiontranspose.md)
- [usesDepthwiseConvolution](mlcompute/mlcconvolutiondescriptor/usesdepthwiseconvolution.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Creating Convolution Layers

- [init(weights:biases:descriptor:)](mlcompute/mlcconvolutionlayer/init(weights:biases:descriptor:).md)
