---
title: resetGateFirst
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphgrudescriptor/resetgatefirst
---

# resetGateFirst

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

## Declaration

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

## Discussion

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