diff options
Diffstat (limited to 'mira/Main.cpp')
-rw-r--r-- | mira/Main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mira/Main.cpp b/mira/Main.cpp index 73daf5a99..9de8f9cdb 100644 --- a/mira/Main.cpp +++ b/mira/Main.cpp @@ -1238,15 +1238,15 @@ int main(int argc, char** argv) cerr << "Rank " << rank << ", epoch " << epoch << ", model score hope: " << modelScoresHope[0][0] << endl; cerr << "Rank " << rank << ", epoch " << epoch << ", model score fear: " << modelScoresFear[0][0] << endl; update_status = ((MiraOptimiser*) optimiser)->updateWeightsAnalytically( - weightUpdate, featureValuesHope[0][0], featureValuesFear[0][0], - bleuScoresHope[0][0], bleuScoresFear[0][0], modelScoresHope[0][0], - modelScoresFear[0][0], learning_rate, rank, epoch); + weightUpdate, featureValuesHope[0][0], featureValuesFear[0][0], + bleuScoresHope[0][0], bleuScoresFear[0][0], modelScoresHope[0][0], + modelScoresFear[0][0], learning_rate, rank, epoch); } else { cerr << "Rank " << rank << ", epoch " << epoch << ", model score hope: " << modelScoresHope[0][0] << endl; cerr << "Rank " << rank << ", epoch " << epoch << ", model score fear: " << modelScoresFear[0][0] << endl; update_status = optimiser->updateWeightsHopeFear(weightUpdate, featureValuesHope, - featureValuesFear, bleuScoresHope, bleuScoresFear, modelScoresHope, - modelScoresFear, learning_rate, rank, epoch); + featureValuesFear, bleuScoresHope, bleuScoresFear, modelScoresHope, + modelScoresFear, learning_rate, rank, epoch); } } else { // model_hope_fear |