Replies: 1 comment
-
Hi - thanks for the question! I think you'll find the answer you're looking for in the FAQ: https://jax.readthedocs.io/en/latest/faq.html#how-can-i-convert-a-jax-tracer-to-a-numpy-array I suspect you'll want to use |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to save an object containing JVPTracer objects to json format (or more generally, some string that I can load back later into the original object). Using pickle is not an option for my application due to security concerns.
Is there a way to serialize objects containing VJPTracers using jax?
Here is a minimally reproducible example. Thanks a lot for your help! (jax version 0.4.7)
which results in
Beta Was this translation helpful? Give feedback.
All reactions