From 478d250818d56eaf23577cdfe254a3d3f6f6b434 Mon Sep 17 00:00:00 2001 From: tqchen Date: Tue, 13 Jan 2015 20:01:15 -0800 Subject: [PATCH] minor change --- guide/README.md | 2 +- guide/basic.py | 1 - guide/broadcast.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/guide/README.md b/guide/README.md index 205537065..2e8f1d68c 100644 --- a/guide/README.md +++ b/guide/README.md @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) { // 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); + rabit::Allreduce(&data[0], n); ... // checkpoint model after one iteration finishes rabit::CheckPoint(&model); diff --git a/guide/basic.py b/guide/basic.py index d6817855c..800d1cb80 100755 --- a/guide/basic.py +++ b/guide/basic.py @@ -21,4 +21,3 @@ print '@node[%d] before-allreduce: a=%s' % (rank, str(a)) a = rabit.allreduce(a, rabit.MAX) print '@node[%d] after-allreduce: a=%s' % (rank, str(a)) rabit.finalize() - diff --git a/guide/broadcast.py b/guide/broadcast.py index b657efd90..defe69eaa 100755 --- a/guide/broadcast.py +++ b/guide/broadcast.py @@ -20,4 +20,3 @@ s = rabit.broadcast(s, 0) print '@node[%d] after-broadcast: s=\"%s\"' % (rank, str(s)) rabit.finalize() -