---
title: MPSCNNSoftMaxGradient
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnsoftmaxgradient
---

# MPSCNNSoftMaxGradient

A gradient softmax filter.

## Declaration

```swift
class MPSCNNSoftMaxGradient
```

## Topics

### Initializers

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

## Relationships

### Inherits From

- [MPSCNNGradientKernel](metalperformanceshaders/mpscnngradientkernel.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

### Softmax Layers

- [MPSCNNSoftMax](metalperformanceshaders/mpscnnsoftmax.md)
- [MPSCNNLogSoftMax](metalperformanceshaders/mpscnnlogsoftmax.md)
- [MPSCNNLogSoftMaxGradient](metalperformanceshaders/mpscnnlogsoftmaxgradient.md)
