<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.4 -",
    "tvOS: 11.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSCNNConvolutionGradientState",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSCNNConvolutionGradientState"
  },
  "title" : "MPSCNNConvolutionGradientState"
}
-->

# MPSCNNConvolutionGradientState

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

```
class MPSCNNConvolutionGradientState
```

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`MPSImageSizeEncodingState`](/documentation/MetalPerformanceShaders/MPSImageSizeEncodingState)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherited By

[`MPSCNNConvolutionTransposeGradientState`](/documentation/MetalPerformanceShaders/MPSCNNConvolutionTransposeGradientState)

### Inherits From

[`MPSNNGradientState`](/documentation/MetalPerformanceShaders/MPSNNGradientState)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)