Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
helinwang committed Jan 27, 2018
1 parent 91eb6d5 commit ad47433
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions paddle/operators/recv_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,15 @@ This operator receives its input tensors, runs the optimize block, and serves th
.SetDefault("127.0.0.1:6164")
.AddCustomChecker([](const std::string &ip) { return !ip.empty(); });
AddAttr<framework::BlockDesc *>(
kOptimizeBlock, "The block to run after receiving the tensors from the send OP.");
AddAttr<std::vector<std::string>>(
"ParamList", "type list of string",
"gradient name to parameter name mapping to find which parameters to optimize.")
kOptimizeBlock,
"The block to run after receiving the tensors from the send OP.");
AddAttr<std::vector<std::string>>("ParamList", "type list of string",
"gradient name to parameter name mapping "
"to find which parameters to optimize.")
.SetDefault({});
AddAttr<std::vector<std::string>>(
"GradList", "type list of string",
"parameter name to gradient name mapping to find which gradient to use.")
AddAttr<std::vector<std::string>>("GradList", "type list of string",
"parameter name to gradient name mapping "
"to find which gradient to use.")
.SetDefault({});
AddAttr<int>("Fanin", "type int",
"Number of send OPs connected to this recv OP")
Expand Down

0 comments on commit ad47433

Please sign in to comment.