未验证 提交 3f616152 编写于 作者: Y Yancey 提交者: GitHub

Merge pull request #8030 from Yancey1989/fix_compile_error

Fix compilie error
...@@ -65,9 +65,9 @@ class SendOp : public framework::OperatorBase { ...@@ -65,9 +65,9 @@ class SendOp : public framework::OperatorBase {
if (outs.size() > 0) { if (outs.size() > 0) {
for (size_t i = 0; i < outs.size(); i++) { for (size_t i = 0; i < outs.size(); i++) {
VLOG(3) << "getting " << outs[i] << " from " << epmap[i]; VLOG(3) << "getting " << outs[i] << " from " << epmap[i];
client_.AsyncGetVariable(epmap[i], ctx, scope, outs[i]); rpc_client->AsyncGetVariable(epmap[i], ctx, scope, outs[i]);
} }
PADDLE_ENFORCE(client_.Wait()); PADDLE_ENFORCE(rpc_client->Wait());
} }
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册