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

Fix sign discrepancy in tolerance in scale_by_backtracking_linesearch #853

Closed copybara-service[bot] closed 7 months ago

copybara-service[bot] commented 7 months ago

Fix sign discrepancy in tolerance in scale_by_backtracking_linesearch

the tolerance should be (1 + \delta) instead of (1 - \delta)