Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Future-proof use of isinstance(x, jnp.ndarray)
The next release of JAX will subtly change the instancecheck behavior for jnp.ndarray; this will only affect libraries that make use of jax-internal objects like ad.UndefinedPrimal. This update future-proofs neural_tangents to this change in instancecheck behavior. PiperOrigin-RevId: 476587404
- Loading branch information