-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Add Lookahead and ModelAverage Optimizer #30004
Conversation
Thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lookahead and ModelAverage 建议先放到incubate下
正式的API的设计,需要考虑更多的使用场景,动静一致,易用性等问题。
我们需要做更多的调研和收集反馈,才能确定。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for op_function_generator.cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* test=develop, add model_average and lookahead
PR types
New features
PR changes
APIs
Describe
Add LookAhead and ModelAverage Optimizer
![image](https://user-images.githubusercontent.com/11266280/103341039-ae194500-4ac0-11eb-9c40-5aadb1652f23.png)
![image](https://user-images.githubusercontent.com/11266280/103341051-b96c7080-4ac0-11eb-933a-f5ecac6dfe27.png)
![image](https://user-images.githubusercontent.com/11266280/103341058-c1c4ab80-4ac0-11eb-8393-681f303dc339.png)
![image](https://user-images.githubusercontent.com/11266280/103341081-cd17d700-4ac0-11eb-86f9-baa393090111.png)
![image](https://user-images.githubusercontent.com/11266280/103341107-ddc84d00-4ac0-11eb-8ad3-d414e891fb3d.png)
![image](https://user-images.githubusercontent.com/11266280/103341112-e6208800-4ac0-11eb-94db-3f73bf7a1a4c.png)
![image](https://user-images.githubusercontent.com/11266280/103341129-f3d60d80-4ac0-11eb-8c00-7212061eae95.png)
![image](https://user-images.githubusercontent.com/11266280/103341137-fc2e4880-4ac0-11eb-8b28-13813a0b1dc5.png)
![image](https://user-images.githubusercontent.com/11266280/103341146-06504700-4ac1-11eb-9f9f-2ecd5667e8bd.png)
![image](https://user-images.githubusercontent.com/11266280/103341168-1700bd00-4ac1-11eb-812b-54913a274d2d.png)
![image](https://user-images.githubusercontent.com/11266280/103341173-1ff18e80-4ac1-11eb-97bd-a3d37f54897d.png)
![image](https://user-images.githubusercontent.com/11266280/103341183-2a138d00-4ac1-11eb-9901-2ee423627892.png)
![image](https://user-images.githubusercontent.com/11266280/103341194-33045e80-4ac1-11eb-8bad-f275b085e769.png)
![image](https://user-images.githubusercontent.com/11266280/103341209-3dbef380-4ac1-11eb-8fc8-cc058ed34a56.png)
![image](https://user-images.githubusercontent.com/11266280/103341224-49121f00-4ac1-11eb-918a-087c4e0cd03d.png)
![image](https://user-images.githubusercontent.com/11266280/103341239-5202f080-4ac1-11eb-9830-ace3e5489b89.png)