---
title: MPSCNNConvolutionGradientState
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnconvolutiongradientstate
---

# MPSCNNConvolutionGradientState

An object that exposes a gradient convolution kernel’s gradient with respect to weights and biases.

## Declaration

```swift
class MPSCNNConvolutionGradientState
```

## Topics

### Instance Properties

- [convolution](metalperformanceshaders/mpscnnconvolutiongradientstate/convolution.md)
- [gradientForBiases](metalperformanceshaders/mpscnnconvolutiongradientstate/gradientforbiases.md)
- [gradientForWeights](metalperformanceshaders/mpscnnconvolutiongradientstate/gradientforweights.md)
- [gradientForWeightsLayout](metalperformanceshaders/mpscnnconvolutiongradientstate/gradientforweightslayout.md)

## Relationships

### Inherits From

- [MPSNNGradientState](metalperformanceshaders/mpsnngradientstate.md)

### Inherited By

- [MPSCNNConvolutionTransposeGradientState](metalperformanceshaders/mpscnnconvolutiontransposegradientstate.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MPSImageSizeEncodingState](metalperformanceshaders/mpsimagesizeencodingstate.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.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)
- [MPSCNNConvolutionGradient](metalperformanceshaders/mpscnnconvolutiongradient.md)
- [MPSImageSizeEncodingState](metalperformanceshaders/mpsimagesizeencodingstate.md)
- [MPSCNNConvolutionWeightsAndBiasesState](metalperformanceshaders/mpscnnconvolutionweightsandbiasesstate.md)
