---
title: MPSCNNConvolutionGradient
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnconvolutiongradient
---

# MPSCNNConvolutionGradient

A gradient convolution kernel.

## Declaration

```swift
class MPSCNNConvolutionGradient
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpscnnconvolutiongradient/init(coder:device:).md)
- [init(device:weights:)](metalperformanceshaders/mpscnnconvolutiongradient/init(device:weights:).md)

### Instance Properties

- [channelMultiplier](metalperformanceshaders/mpscnnconvolutiongradient/channelmultiplier.md)
- [dataSource](metalperformanceshaders/mpscnnconvolutiongradient/datasource.md)
- [gradientOption](metalperformanceshaders/mpscnnconvolutiongradient/gradientoption.md)
- [groups](metalperformanceshaders/mpscnnconvolutiongradient/groups.md)
- [serializeWeightsAndBiases](metalperformanceshaders/mpscnnconvolutiongradient/serializeweightsandbiases.md)
- [sourceGradientFeatureChannels](metalperformanceshaders/mpscnnconvolutiongradient/sourcegradientfeaturechannels.md)
- [sourceImageFeatureChannels](metalperformanceshaders/mpscnnconvolutiongradient/sourceimagefeaturechannels.md)

### Instance Methods

- [reloadWeightsAndBiases(with:state:)](metalperformanceshaders/mpscnnconvolutiongradient/reloadweightsandbiases(with:state:).md)
- [reloadWeightsAndBiasesFromDataSource()](metalperformanceshaders/mpscnnconvolutiongradient/reloadweightsandbiasesfromdatasource().md)

## Relationships

### Inherits From

- [MPSCNNGradientKernel](metalperformanceshaders/mpscnngradientkernel.md)

### Inherited By

- [MPSCNNFullyConnectedGradient](metalperformanceshaders/mpscnnfullyconnectedgradient.md)

### Conforms To

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

## See Also

### Convolution Layers

- [MPSCNNBinaryConvolution](metalperformanceshaders/mpscnnbinaryconvolution.md)
- [MPSCNNConvolution](metalperformanceshaders/mpscnnconvolution.md)
- [MPSCNNDepthWiseConvolutionDescriptor](metalperformanceshaders/mpscnndepthwiseconvolutiondescriptor.md)
- [MPSCNNSubPixelConvolutionDescriptor](metalperformanceshaders/mpscnnsubpixelconvolutiondescriptor.md)
- [MPSCNNConvolutionTranspose](metalperformanceshaders/mpscnnconvolutiontranspose.md)
- [MPSCNNConvolutionGradientState](metalperformanceshaders/mpscnnconvolutiongradientstate.md)
- [MPSImageSizeEncodingState](metalperformanceshaders/mpsimagesizeencodingstate.md)
- [MPSCNNConvolutionWeightsAndBiasesState](metalperformanceshaders/mpscnnconvolutionweightsandbiasesstate.md)
