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

Sequence Models

Bidirectional RNN

Compare forward and backward sequence context.

BIDIRECTIONAL · unrolled through timeBIDIRECTIONAL · unrolled through timex1 = 1t=1h=0.664x2 = 0t=2h=0.3203x3 = -1t=3h=-0.5648x4 = 0.5t=4h=0.1171x5 = 0t=5h=0.0585Shared weights · h(t−1) → cell → h(t)
Step 0 / 4
hₜ = tanh(Wx × xₜ + Wh × hₜ₋₁ + b)
tanh(0.8×1 + 0.5×0 + 0)
Hidden state = 0.664
Memory over timeMemory over time0-21-1203142HiddenBackward hidden

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