RNN & LSTM Calculator
IF3270 Pembelajaran Mesin · Recurrent Models Study Tool
Recurrent Neural Networks
& LSTM Cells
Parameters · Activations · Gates · Topology · Unrolled Timeline
Vanilla RNN
LSTM
Hidden State
Cell State
Forget Gate
Input Gate
Output Gate
BPTT
Bidirectional
Layer Norm
References: Hochreiter & Schmidhuber (1997) · Olah (2015) · Goodfellow et al. (2016) Deep Learning · Graves (2013)
ModelRNN
Params— weights
Mem · fwd— MB
FLOPs / step— M
Sequence— steps
Output—
Figure 1.0 — RNN cell after Olah (2015), redrawn for the construction kit.
EQ · Equations
∑ · Computed
W · Weight matrices
T · Unrolled timeline
RNN-LSTM-CK · §1.3
h₀, c₀ ← 0 · all values derived live from knob state
rev. 06