A vanilla RNN's recurrence is . Training requires backpropagation through time (BPTT): unroll the recurrence into a -step computation graph and apply the ordinary chain rule across it.
Layer 4 · Foundations
Recurrent Networks
Backpropagation through time, why vanishing gradients are provably worse for recurrence, and the LSTM's gating math.
15 min read180 XP