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

# outputGateActivation

A parameter that defines the activation function to use with the output-gate of the GRU operation.

## Declaration

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

## Discussion

Discussion Default value: MPSGraphRNNActivationTanh.
