From 32fa832b4b765a963a3b84ac90b62803a454a321 Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Tue, 19 Jun 2018 22:09:49 +0800 Subject: [PATCH] code style --- paddle/fluid/operators/checkpoint_notify_op.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/operators/checkpoint_notify_op.cc b/paddle/fluid/operators/checkpoint_notify_op.cc index 72976e22c..7b4c607c3 100644 --- a/paddle/fluid/operators/checkpoint_notify_op.cc +++ b/paddle/fluid/operators/checkpoint_notify_op.cc @@ -42,8 +42,9 @@ class CheckpointNotifyOp : public framework::OperatorBase { detail::RPCClient* rpc_client = detail::RPCClient::GetInstance(); for (size_t i = 0; i < epmap.size(); i++) { - VLOG(3) << "sending " << dir <<" to " << epmap[i] << " to checkpoint notify ... "; - auto serial_looku_table = string::Sprintf("%s/%s_%d", dir, lookup_table_name, i); + VLOG(3) << "checkpoint notify sending " << dir << " to " << epmap[i]; + auto serial_looku_table = + string::Sprintf("%s/%s_%d", dir, lookup_table_name, i); rpc_client->AsyncCheckpointNotify(epmap[i], serial_looku_table); } rpc_client->Wait(); @@ -60,8 +61,8 @@ class CheckpointNotifyOpMaker : public framework::OpProtoAndCheckerMaker { .SetDefault({"127.0.0.1:6164"}); AddAttr( "dir", "(string, default '') indicate the folder checkpoint will use"); - AddAttr( - "lookup_table", "(string, default '') the lookup table name"); + AddAttr("lookup_table", + "(string, default '') the lookup table name"); AddComment(R"DOC( Prefetch operator -- GitLab