Micrograd
o
data 0.7071
grad 1
tanh
n
data 0.8814
grad 0.5
+
x1*w1 + x2*w2
data -6
grad 0.5
+
x1*w1
data -6
grad 0.5
*
x1
data 2
grad -1.5
w1
data -3
grad 1
x2*w2
data 0
grad 0.5
*
x2
data 0
grad 0.5
w2
data 1
grad 0
b
data 6.8814
grad 0.5