-
Hello folks! I have a jitted function with about 40 inputs, To my understanding the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Good question! I'm not sure I totally follow the motivation for the change you're trying to make. Why do you need these two frontend functions? Could you post some explicit example code to guide the discussion? At a high level, one option would be to have only one function accept the explicit keywords and then pack all the non-differentiable arguments into a |
Beta Was this translation helpful? Give feedback.
In this case, you want to use the
nondiff_argnums
argument tocustom_jvp
:Note that this also changes the signature of
f_jvp
. Does that do the trick in your case?