Replies: 1 comment
-
No, JAX does not support compound dtypes, so there is no way to natively implement a record array in JAX. If you want this sort of functionality, I'd recommend a dataclass with multiple array buffers to store the multiple elements. |
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.
-
Hello community,
in my project I am converting a numpy-driven library into jax, in which I find it is really convenient to have record array which can store object members (numpy.lib.recfunctions). I would like to ask if there is a way to do such similar array in jax?
Beta Was this translation helpful? Give feedback.
All reactions