提交 3503c47f 编写于 作者: Q qiaolongfei

listen and serv default sync mode

上级 0881d809
...@@ -332,8 +332,7 @@ from send_op and send back variables to recv_op. ...@@ -332,8 +332,7 @@ from send_op and send back variables to recv_op.
"['param1@GRAD.block0:1', 'param2@GRAD.blockn:2'] " "['param1@GRAD.block0:1', 'param2@GRAD.blockn:2'] "
"a map from grad name to it's optimize block id") "a map from grad name to it's optimize block id")
.SetDefault({}); .SetDefault({});
AddAttr<bool>("sync_mode", "if works at sync_mode or not") AddAttr<bool>("sync_mode", "if works at sync_mode or not").SetDefault(true);
.SetDefault(false);
AddAttr<framework::BlockDesc *>(kOptimizeBlock, AddAttr<framework::BlockDesc *>(kOptimizeBlock,
"BlockID to run on server side."); "BlockID to run on server side.");
AddAttr<framework::BlockDesc *>(kPrefetchBlock, AddAttr<framework::BlockDesc *>(kPrefetchBlock,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册