-
I was trying to play around with the example given in https://jax.readthedocs.io/en/latest/external-callbacks.html for working with
The only change is made is to introduce a new argument The error stems at |
Beta Was this translation helpful? Give feedback.
Answered by
jakevdp
Dec 31, 2024
Replies: 1 comment 3 replies
-
Update
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That said, static arguments to
jit
must be hashable, and dicts are not hashable, so instead you could keep it static using a closure: