jax
dda96957 - Change TypedNdArray to be a subclass of np.ndarray, rather than a duck type.

Commit
125 days ago
Change TypedNdArray to be a subclass of np.ndarray, rather than a duck type. An upcoming change to JAX means we will generate TypedNdArrary more, and this avoids breaking users who do isinstance(x, np.ndarray). It is also simpler. PiperOrigin-RevId: 883108466
Author
Parents
Loading