Learn Before
Concept

Unrolled RNN Structure

An unrolled Recurrent Neural Network (RNN) can be visualized as a sequence of identical network copies, with one copy for each input in the sequence (e.g., X0,X1,,XtX_0, X_1, \dots, X_t).

At each time step tt, the network processes the current input and generates two key components:

  • An output (y^(t)\hat{y}^{(t)}): The model's prediction at the current step.
  • A hidden state (h(t)h^{(t)}): The network's short-term memory vector. It is computed using an activation function that takes both the previous hidden state (h(t1)h^{(t-1)}) and the current input (XtX_t) as inputs, allowing the network to carry over information from previous steps.
Image 0

0

1

Updated 2026-06-18

Tags

Data Science

Related
Learn After