---
title: resetAfter
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphgrudescriptor/resetafter
---

# resetAfter

A parameter that chooses between two variants for the reset gate computation.

## Declaration

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

## Discussion

Discussion If set to YES then the layer will compute the intermediate value as c[t] = ( b + (h[t-1] m ) R^T) r[t]. Otherwise it’s computed as c[t] = (h[t-1] r[t] m) R^T. Default value: NO.
