Skip to content
Discussion options

You must be logged in to vote

No, unfortunately there's no way to do this in general. JAX is unable to implement the entire numpy API... as a simple example, numpy will happily create and manipulate arrays of strings. However XLA (JAX's backend) has no string type, so it's not possible to express the corresponding operations in JAX.

You should think of jax.numpy as a numpy-like API, but not as a 100% faithful drop-in replacement for numpy.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PabloAMC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants