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

Fixed pseudocode for Nesterov in description of SGD. #901

Closed satyenkale closed 6 months ago

satyenkale commented 6 months ago

The original math pseudocode for SGD with Nesterov was incorrect, as described in issue #900. This PR fixes the pseudocode.

google-cla[bot] commented 6 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.