Remove do_average_in_cpu, max_average_window, average_window from optimizers.py#905
Merged
reyoung merged 2 commits intoPaddlePaddle:developfrom Dec 15, 2016
Merged
Conversation
…imizers.py These three parameters have already been moved to model_average. Leaving them here will cause duplicate keys in kwargs
luotao1
approved these changes
Dec 15, 2016
reyoung
requested changes
Dec 15, 2016
| @@ -412,7 +409,6 @@ def settings(batch_size, | |||
| args = [ | |||
| 'batch_size', 'learning_rate', 'learning_rate_decay_a', | |||
| 'learning_rate_decay_b', 'learning_rate_schedule', 'learning_rate_args', | |||
Collaborator
There was a problem hiding this comment.
看起来,这里多了个,
所以导致Paddle格式检查不过。
目前paddle使用pre-commit来做格式检查。
reyoung
approved these changes
Dec 15, 2016
Closed
wangxicoding
pushed a commit
to wangxicoding/Paddle
that referenced
this pull request
Dec 9, 2021
…#905) * support int32 * mv beam search v2
lizexu123
pushed a commit
to lizexu123/Paddle
that referenced
this pull request
Feb 23, 2024
zhangyuqin1998
pushed a commit
to zhangyuqin1998/Paddle
that referenced
this pull request
Feb 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These three parameters have already been moved to model_average. Leaving them here will cause duplicate keys in kwargs.