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

Add const in ParameterUpdater init #963

Merged

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Dec 20, 2016

Clean paddle::ParameterUpdater::init(vector& params) to const reference.

It will make sure ParameterUpdater::init not change the vector<>.

@reyoung reyoung merged commit dadd48a into PaddlePaddle:develop Dec 20, 2016
@reyoung reyoung deleted the feature/add_const_in_parameter_updater branch December 21, 2016 14:48
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this pull request Sep 25, 2019
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this pull request Dec 9, 2021
lizexu123 pushed a commit to lizexu123/Paddle that referenced this pull request Feb 23, 2024
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