Skip to content

Add const in ParameterUpdater init - #963

Merged
reyoung merged 1 commit into
PaddlePaddle:developfrom
reyoung:feature/add_const_in_parameter_updater
Dec 20, 2016
Merged

reyoung merged 1 commit into
PaddlePaddle:developfrom
reyoung:feature/add_const_in_parameter_updater

Conversation

@reyoung

@reyoung reyoung commented Dec 20, 2016

Copy link
Copy Markdown
Collaborator

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

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

@reyoung
reyoung requested a review from gangliao December 20, 2016 09:43
@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