Skip to content

Commit

Permalink
SINGA-140 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
raunaqabhyankar committed Mar 30, 2016
1 parent 259422c commit 3b87183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ int Worker::Update(int step, Param* param) {
int Worker::CollectAll(int step, NeuralNet* net) {
auto& layers = net->layers();
for (auto& layer : layers) {
if (layer->partition_id() == id_) {
if (layer->partition_id() == id_ && layer->unroll_index() == 0) {
for (Param* p : layer->GetParams()) {
Collect(step, p);
}
Expand Down

0 comments on commit 3b87183

Please sign in to comment.