---
title: MPSGraphRNNActivation
framework: metalperformanceshadersgraph
role: symbol
role_heading: Enumeration
path: metalperformanceshadersgraph/mpsgraphrnnactivation
---

# MPSGraphRNNActivation

The activation modes for RNN operations.

## Declaration

```swift
enum MPSGraphRNNActivation
```

## Topics

### Enumeration Cases

- [MPSGraphRNNActivation.hardSigmoid](metalperformanceshadersgraph/mpsgraphrnnactivation/hardsigmoid.md)
- [MPSGraphRNNActivation.none](metalperformanceshadersgraph/mpsgraphrnnactivation/none.md)
- [MPSGraphRNNActivation.relu](metalperformanceshadersgraph/mpsgraphrnnactivation/relu.md)
- [MPSGraphRNNActivation.sigmoid](metalperformanceshadersgraph/mpsgraphrnnactivation/sigmoid.md)
- [MPSGraphRNNActivation.tanh](metalperformanceshadersgraph/mpsgraphrnnactivation/tanh.md)

### Initializers

- [init(rawValue:)](metalperformanceshadersgraph/mpsgraphrnnactivation/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
