Peter Hawkins 5527966b27 [JAX] Deprecate .to_py() property on arrays. Implement __array__ instead.
.to_py() was something of an accidental export from the JAX array classes. There are other mechanisms to turn a JAX array into a NumPy array, including `np.asarray(x)` and `jax.device_get(x)`. Deprecate this mechanism because it is redundant.

PiperOrigin-RevId: 469984029
2022-08-25 07:28:27 -07:00
..
2022-08-22 13:57:31 -07:00
2022-08-24 08:16:46 -07:00
2022-05-18 21:54:47 +01:00
2022-08-13 16:32:52 +00:00
2022-08-18 11:39:07 -07:00
2022-08-18 11:39:07 -07:00
2022-08-18 11:39:07 -07:00
2022-08-11 15:46:34 +01:00
2022-08-18 11:39:07 -07:00
2022-08-01 15:26:55 -07:00
2022-08-04 07:13:46 -07:00
2022-05-18 21:54:47 +01:00