-
Hello, I have a function of signature (N,) -> (N,) and I'd like to get the gradient with respect to each element individually, not the jacobian matrix. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I opened a similar issue a few years back here. Is the |
Beta Was this translation helpful? Give feedback.
-
BTW, all ones jvp maybe faster than vjp. |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't throw this on the initial post as well. Not sure if you will need this, but the |
Beta Was this translation helpful? Give feedback.
I opened a similar issue a few years back here. Is the
egrad
function that @mattjj suggested what you're looking for?