---
title: outputGateActivation
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphlstmdescriptor/outputgateactivation
---

# outputGateActivation

A parameter that defines the activation function used with the output gate of the LSTM operation.

## Declaration

```swift
var outputGateActivation: MPSGraphRNNActivation { get set }
```

## Discussion

Discussion Default value: MPSGraphRNNActivationSigmoid.
