You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Gograd is a small automatic reverse-mode differentiation framework written in Go.
Example
a:=NewVar(4)
b:=NewVar(3)
c:=a.Mul(a.Add(b))
c.Backward()
fmt.Println(c.value)
// prints 28fmt.Println(a.grad)
// prints 11fmt.Println(b.grad)
// prints 4