adding more description to toolkit

This commit is contained in:
nachocano
2015-01-12 00:14:40 -08:00
parent 6b651176a3
commit 30f3971bee
2 changed files with 32 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ int main(int argc, char *argv[]) {
if (version == 0) model.InitModel();
// the version number marks the iteration to resume
for (int iter = version; iter < max_iter; ++iter) {
// model should be sufficient variable at this point
// at this point, the model object should allow us to recover the program state
...
// each iteration can contain multiple calls of allreduce/broadcast
rabit::Allreduce(&data[0], n);