How do I test that analytical gradients match numerical ones? #23134
Replies: 1 comment
-
Found it: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I could have sworn I've seen code like this in Jax somewhere. Is there an easy tool to check that
grad(f)(x)
is approximately equal to(f(x)-f(x+delta))/delta
for small delta?Beta Was this translation helpful? Give feedback.
All reactions