Hacker News new | ask | show | jobs
by antoine-levitt 241 days ago
You can easily test a gradient using only the forward pass by doing f(x+h) ~ f(x) + dot(g, h) for a random h