fix the bug of use sparse_remote_update with MultiGradientMachine

feature/design_of_v2_layer_converter
qiaolongfei 9 years ago
parent 956217887f
commit 68c1efdd9c

@ -518,7 +518,7 @@ void TrainerThread::computeThread() {
backward();
break;
case MultiGradientMachine::TASK_COPY_IN_ARGS:
copyInArgs();
batchSize_ = copyInArgs();
inArgsCopied_ = true;
multiMachine_->waitForCopyInArgs();
break;

Loading…
Cancel
Save