Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Nesterov Momentum #4948

Merged
merged 1 commit into from
Oct 20, 2017

Conversation

kavyasrinet
Copy link

Adding Nesterov Momentum to the already existing momentum operator.

Copy link
Contributor

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -12,6 +12,7 @@ def setUp(self):
velocity = np.zeros((123, 321)).astype("float32")
learning_rate = np.array([0.001]).astype("float32")
mu = 0.0001
use_nesterov = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that our OpTest framework needs to support multi-version test Cases.

@kavyasrinet kavyasrinet merged commit 5380a54 into PaddlePaddle:develop Oct 20, 2017
@kavyasrinet kavyasrinet deleted the nesterov_momentum branch November 1, 2017 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants