Key idea: A recurrent neural network processes sequences by applying the same cell at every time step: \(h_t = \tanh(W_h \cdot h_{t-1} + W_x \cdot x_t + b)\). The folded view shows the cell with a self-loop; the unrolled view expands it across time, revealing how information propagates through the hidden state.
t = 0 / 5

Folded RNN Cell

RNN Cell W_h x_t h_t W_x

Unrolled Through Time

Computation Detail

Press Step or Play to begin the forward pass.