---
title: MPSNNGradientFilterNode
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsnngradientfilternode
---

# MPSNNGradientFilterNode

A representation of a gradient filter.

## Declaration

```swift
class MPSNNGradientFilterNode
```

## Relationships

### Inherits From

- [MPSNNFilterNode](metalperformanceshaders/mpsnnfilternode.md)

### Inherited By

- [MPSCNNBatchNormalizationGradientNode](metalperformanceshaders/mpscnnbatchnormalizationgradientnode.md)
- [MPSCNNConvolutionGradientNode](metalperformanceshaders/mpscnnconvolutiongradientnode.md)
- [MPSCNNCrossChannelNormalizationGradientNode](metalperformanceshaders/mpscnncrosschannelnormalizationgradientnode.md)
- [MPSCNNDropoutGradientNode](metalperformanceshaders/mpscnndropoutgradientnode.md)
- [MPSCNNGroupNormalizationGradientNode](metalperformanceshaders/mpscnngroupnormalizationgradientnode.md)
- [MPSCNNInstanceNormalizationGradientNode](metalperformanceshaders/mpscnninstancenormalizationgradientnode.md)
- [MPSCNNLocalContrastNormalizationGradientNode](metalperformanceshaders/mpscnnlocalcontrastnormalizationgradientnode.md)
- [MPSCNNLogSoftMaxGradientNode](metalperformanceshaders/mpscnnlogsoftmaxgradientnode.md)
- [MPSCNNNeuronGradientNode](metalperformanceshaders/mpscnnneurongradientnode.md)
- [MPSCNNPoolingGradientNode](metalperformanceshaders/mpscnnpoolinggradientnode.md)
- [MPSCNNSoftMaxGradientNode](metalperformanceshaders/mpscnnsoftmaxgradientnode.md)
- [MPSCNNSpatialNormalizationGradientNode](metalperformanceshaders/mpscnnspatialnormalizationgradientnode.md)
- [MPSCNNUpsamplingBilinearGradientNode](metalperformanceshaders/mpscnnupsamplingbilineargradientnode.md)
- [MPSCNNUpsamplingNearestGradientNode](metalperformanceshaders/mpscnnupsamplingnearestgradientnode.md)
- [MPSNNArithmeticGradientNode](metalperformanceshaders/mpsnnarithmeticgradientnode.md)
- [MPSNNConcatenationGradientNode](metalperformanceshaders/mpsnnconcatenationgradientnode.md)
- [MPSNNGramMatrixCalculationGradientNode](metalperformanceshaders/mpsnngrammatrixcalculationgradientnode.md)
- [MPSNNLossGradientNode](metalperformanceshaders/mpsnnlossgradientnode.md)
- [MPSNNPadGradientNode](metalperformanceshaders/mpsnnpadgradientnode.md)
- [MPSNNReductionSpatialMeanGradientNode](metalperformanceshaders/mpsnnreductionspatialmeangradientnode.md)
- [MPSNNReshapeGradientNode](metalperformanceshaders/mpsnnreshapegradientnode.md)

### Conforms To

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

## See Also

### Filter Node Base Classes

- [MPSNNFilterNode](metalperformanceshaders/mpsnnfilternode.md)
