<!--
{
  "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/MPSNNArithmeticGradientNode",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSNNArithmeticGradientNode"
  },
  "title" : "MPSNNArithmeticGradientNode"
}
-->

# MPSNNArithmeticGradientNode

A representation of the base class for gradient arithmetic operators.

```
class MPSNNArithmeticGradientNode
```

## Relationships

### Inherited By

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

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

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

### Conforms To

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

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

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

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

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

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

### Inherits From

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

---

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)