Weights and bias
Input
x₁ = 2
x₂ = −1
w₁
1.5
w₁x₁ = 1.5 × 23.0
w₂
0.5
w₂x₂ = 0.5 × (−1)−0.5
b bias
−0.5
offset, independent of x−0.5
Each term shifts the running total. Red moves it right, blue moves it left.
w₁x₁
3.0
w₂x₂
−0.5
b bias
−0.5
a = ∑
2.0
∑ = 0
the contributions cancel