-
Is it possible to calculate the gradient of a model w.r.t input? |
Beta Was this translation helpful? Give feedback.
Answered by
jheek
Oct 30, 2020
Replies: 1 comment 4 replies
-
It by defualt
but you can also do the following:
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jheek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It by defualt
jax.grad
only computes a grad w.r.t. the first argument so you get:but you can also do the following: