Emily Fertig 4ae7fcf376 Return arrays from ArrayImpl._check_and_rearrange.
This is in preparation for a larger change, so that input buffers can be checked before Array creation in XLA and the user gets more helpful JAX error messages instead of XLA errors.

Reverts 3b2410f77cdb0acc6951e1770c1229e6689b7409

PiperOrigin-RevId: 723539592
2025-02-05 09:24:22 -08:00
..
2024-12-18 07:46:14 +00:00
2024-12-29 13:06:19 +00:00
2024-05-25 17:46:01 +00:00
2024-10-07 12:27:35 -07:00
2024-11-05 13:28:17 -08:00
2024-07-15 12:54:00 -07:00