🧠 Neural Network Forward Pass
Watch data flow through a 3-layer neural network
Ready to Start
Click "Run Forward Pass" to see how data flows through the network
📤 Network Outputs (Softmax)
💻 Code Being Executed
def forward(x, W1, b1, W2, b2, W3, b3):
z1 = x @ W1 + b1
a1 = relu(z1)
z2 = a1 @ W2 + b2
a2 = relu(z2)
z3 = a2 @ W3 + b3
output = softmax(z3)
return output