google / aqt

Apache License 2.0
262 stars 27 forks source link

Replace jax.core.symbolic_equal_dim with == #540

Closed copybara-service[bot] closed 7 months ago

copybara-service[bot] commented 7 months ago

Replace jax.core.symbolic_equal_dim with ==

A long time ago one had to use jax.core.symbolic_equal_dim to compare for equality dimensions that may include symbolic expressions (in presence of JAX polymorphism). This has not been necessary for a while now, and we want to remove the jax.core.symbolic_equal_dim API.

Some projects seem to use core.definitely_equal for the same purpose. These changes can also be replaced by ==.