google-deepmind / optax

Optax is a gradient processing and optimization library for JAX.
https://optax.readthedocs.io
Apache License 2.0
1.65k stars 181 forks source link

Revert of #898. #915

Closed copybara-service[bot] closed 5 months ago

copybara-service[bot] commented 5 months ago

Revert of #898. Reasons: Gradients w.r.t. labels are now wrong. Needs to be tackled by a custom jvp (as done in e.g. jax.xlogy). Will do in another PR with additional tests.