diff options
author | John Langford <jl@humpty.(none)> | 2010-09-17 19:55:21 +0400 |
---|---|---|
committer | John Langford <jl@humpty.(none)> | 2010-09-17 19:55:21 +0400 |
commit | f8f15007ef9363827c3399b044324530b6b77a01 (patch) | |
tree | 7f8192299d9460ea7a3ff9a2e92ce735930f61ce /parser.cc | |
parent | 9ddab14548a94930883bf7d55640cdb43423a2d2 (diff) |
initial delayed_global
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -243,7 +243,9 @@ void parse_source_args(po::variables_map& vm, parser* par, bool quiet, size_t pa par->label_sock = f; global.print = binary_print_result; } - if (id == 0 || (global.backprop && vm.count("multisource"))) + if (id == 0 || + ((global.backprop || global.delayed_global) + && vm.count("multisource"))) { int_pair pf = {f,id}; push(global.final_prediction_sink,pf); |