---
title: cellGateActivation
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphlstmdescriptor/cellgateactivation
---

# cellGateActivation

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

## Declaration

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

## Discussion

Discussion Default value: MPSGraphRNNActivationTanh.
