We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647f9a0 commit cee9944Copy full SHA for cee9944
paddle/api/ParameterUpdater.cpp
@@ -31,9 +31,8 @@ ParameterUpdater *ParameterUpdater::createLocalUpdater(
31
ParameterUpdater *ParameterUpdater::createRemoteUpdater(
32
OptimizationConfig *config, int passCount) {
33
auto updater = new ParameterUpdater();
34
- std::unique_ptr<paddle::ParameterUpdater> localUpdater;
35
updater->m->updater.reset(new paddle::RemoteParameterUpdater(
36
- config->m->getConfig(), passCount, std::move(localUpdater)));
+ config->m->getConfig(), passCount, nullptr));
37
return updater;
38
}
39
0 commit comments