AI / ML VisualizerRuns in your browser · No API keyOpen Model
← All topics

Sequence Models

GRU

Change reset and update behavior in a gated recurrent unit.

A GRU uses gates to choose how much old memory to keep.

Why do we need this? Sequential predictions need information from earlier observations.

A hidden state connects consecutive observationsA hidden state connects consecutive observationsTime 1?Hidden stateTime 2?Hidden stateTime 3?Hidden stateTime 4?Hidden stateTime 5?Hidden state1Input1 ›Previous hidden state: 0
Recurrent connection →Current input / state← Backward sensitivity
STEP 1 OF 20

Time 1: Read an input

The sequence supplies one observation at a time.

No account required. Local images and model files stay in your browser. Educational models demonstrate mechanisms; they are not production predictors.