Input xt Reset rt Update zt Candidate h̃t Hidden ht
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

GRU Cell: Reset & Update Gates

A Gated Recurrent Unit (GRU) is the leaner cousin of the LSTM — the same idea of gating what a recurrent network remembers, done with two gates and no separate cell state. This simulator runs a real 8-unit GRU cell over a live input sequence you choose (sine, square, impulse, or noise), rendering the input, the reset gate, the update gate, the candidate hidden state, and the persisting hidden state as five rows of 3D bars that update every step. Two bias sliders let you push the reset and update gates toward always-open or always-closed so you can watch, directly, how a GRU decides what to forget and what to keep.