---
title: MPSCNNDropoutGradient
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnndropoutgradient
---

# MPSCNNDropoutGradient

A gradient dropout filter.

## Declaration

```swift
class MPSCNNDropoutGradient
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpscnndropoutgradient/init(coder:device:).md)
- [init(device:keepProbability:seed:maskStrideInPixels:)](metalperformanceshaders/mpscnndropoutgradient/init(device:keepprobability:seed:maskstrideinpixels:).md)

### Instance Properties

- [keepProbability](metalperformanceshaders/mpscnndropoutgradient/keepprobability.md)
- [maskStrideInPixels](metalperformanceshaders/mpscnndropoutgradient/maskstrideinpixels.md)
- [seed](metalperformanceshaders/mpscnndropoutgradient/seed.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

### Dropout Layers

- [MPSCNNDropout](metalperformanceshaders/mpscnndropout.md)
- [MPSCNNDropoutGradientState](metalperformanceshaders/mpscnndropoutgradientstate.md)
