---
title: forgetGateLast
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphlstmdescriptor/forgetgatelast
---

# forgetGateLast

A parameter that controls the internal order of the LSTM gates.

## Declaration

```swift
var forgetGateLast: Bool { get set }
```

## Discussion

Discussion If set to YES then the layer will use the gate-ordering [ i, z, f, o ] instead of default [ i, f, z, o ]. Default value: NO
