Build Your Quiz
Choose topics, difficulty, timing, and feedback behavior.
Interactive GRU Learning Lab
Explore state blending, parameter counts, tensor shapes, equations, and architecture choices before starting.
Gate and Hidden-State Simulator
This scalar demonstration uses ht=(1-z)hprevious+z·hcandidate. The reset gate previews its effect on earlier memory.
Parameter-Count Calculator
Uses 3H(I+H+2), matching implementations with two bias vectors per gate.
Tensor-Shape Explorer
GRU, LSTM, and Vanilla RNN Comparison
| Model | Main state design | Gates | Typical strength | Trade-off |
|---|---|---|---|---|
| Vanilla RNN | Single hidden state | None | Simple short-sequence baselines | Long dependencies are difficult |
| GRU | Single gated hidden state | Update and reset | Efficient sequence modeling | Less explicit memory control than LSTM |
| LSTM | Hidden plus cell state | Input, forget, output | Flexible long-memory control | More parameters and computation |