How to calculate full gradient
Created by: zuowang
I found there are codes to train whole data in one batch(gradient descent), could you tell me how to enable it?
if (IGradientMachineMode::trainWholeDataInOneBatch(mode_)) {
trainOnePassBatch(config_->getConfig().start_pass() + i);
} else {
...