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

[2.0API]support 2.0 lr_scheduler for 2.0 optimizer #26737

Merged
merged 6 commits into from
Aug 28, 2020

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Aug 27, 2020

PR types

New features

PR changes

APIs

Describe


support 2.0 lr_scheduler for 2.0 optimizer.

2.0 optimizer has new base class, and 2.0 lr_scheduler has new base class, too.

2.0 optimizer only support float or _LRScheduler, and static is the same with dynamic.

This PR is a supplement to #26550.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhwesky2010 zhwesky2010 changed the title support 2.0 lr_scheduler for 2.0 optimizer [2.0API]support 2.0 lr_scheduler for 2.0 optimizer Aug 27, 2020
Copy link
Contributor

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

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

lgtm

@zhwesky2010 zhwesky2010 merged commit 30aab17 into PaddlePaddle:develop Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants