border_all RNN Visualizer Studio

Interactive Dependency Tracer

How to Use This Tool

Edit Values: Click on any orange input cell or yellow weight cell to change its value. The hidden states and outputs will automatically recalculate!

Trace Dependencies: Click on any green hidden state or blue output cell to visualize its dependencies. Arrows show which cells contribute to the calculation.

RNN Formulas: h1 = ReLU(input * Wxh[0] + h_prev1 * Whh[0,0] + h_prev2 * Whh[0,1]) | h2 = input * Wxh[1] + h_prev1 * Whh[1,0] + h_prev2 * Whh[1,1] | output = h1 * Why[0] + h2 * Why[1]

Select a cell...
A
B
C
D
E
F
G
H
1
Wₓₕ
Wₕₕ
Wₕᵧ
2
1
1
-1
-1
1
3
2
1
1
4
5
Step
Input
Hidden (h)
Output
6
0
-
0
0
-
7
1
3
3
6
3
8
2
4
1
17
16
9
3
5
0
28
28
10
4
6
0
40
40
Input
Previous State
Weights