-
Is there a specific reason why Why prevent, for instance, float conversion of arrays that can still be converted to scalars using |
Beta Was this translation helpful? Give feedback.
Answered by
jakevdp
Sep 16, 2024
Replies: 1 comment
-
Thanks for the question! JAX strives as much as possible to semantically match the latest release of NumPy. We added this particular code after NumPy deprecated scalar conversions for arrays that are not zero-dimensional; see numpy/numpy#10615. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lfaucheux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the question! JAX strives as much as possible to semantically match the latest release of NumPy. We added this particular code after NumPy deprecated scalar conversions for arrays that are not zero-dimensional; see numpy/numpy#10615.