πŸ”„ RNN Cell Visualizer

The same cell, looping through time β€” watch it fold and unroll, live.

πŸ“‹ How To Use This Lab
  1. The top diagram is the RNN cell in its compact "folded" form β€” input in, hidden state loops around.
  2. Drag the Time-step slider β†’ the bottom row unrolls, showing that exact same loop spread out across time.
  3. Watch h (the hidden state) carry forward from each cell into the next β€” that memory is the whole idea of an RNN.
  4. Use Next/Previous/Auto Run to step through time one moment at a time.
t = 0
hβ‚€ = 0.000
Folded View β€” The Recurrent Loop RNN Cell tanh(WxΒ·x + WhΒ·h + b) Input x₁ = 0.50 New Hidden State h₁ = 0.380 Previous Hidden State (loops back in) hβ‚€ = 0.000 Unrolled View β€” Same Loop, Spread Across Time
πŸ”„ LOOPYDrag the Time-step slider β€” I'll unroll the loop one moment at a time, and you'll see the SAME cell doing all the work.
πŸ§‘β€πŸ« PROF. TORCHAn RNN cell has no memory of its own β€” the hidden state IS the memory, carried forward by hand at every single step.