提交 8b8a0487 编写于 作者: Q Qiao Longfei

fix compile test=develop

上级 a541c25a
...@@ -146,7 +146,7 @@ class RequestGet final : public RequestBase { ...@@ -146,7 +146,7 @@ class RequestGet final : public RequestBase {
framework::Variable* invar = nullptr; framework::Variable* invar = nullptr;
framework::Variable* outvar = nullptr; framework::Variable* outvar = nullptr;
tmp_scope_.reset(scope->NewTmpScope()); tmp_scope_ = std::move(scope->NewTmpScope());
request_handler_->Handle(varname, tmp_scope_.get(), invar, &outvar, request_handler_->Handle(varname, tmp_scope_.get(), invar, &outvar,
trainer_id, out_varname, table_name); trainer_id, out_varname, table_name);
......
...@@ -52,7 +52,7 @@ class SendOp : public framework::OperatorBase { ...@@ -52,7 +52,7 @@ class SendOp : public framework::OperatorBase {
if (distributed::Communicator::GetInstance() == nullptr) { if (distributed::Communicator::GetInstance() == nullptr) {
auto send_functor = distributed::ParameterSend<float>(); auto send_functor = distributed::ParameterSend<float>();
auto rpc_ctx = distributed::RpcContext(ins[0], send_varnames, epmap, auto rpc_ctx = distributed::RpcContext(ins[0], send_varnames, epmap,
height_sections); height_sections, trainer_id);
send_functor(rpc_ctx, scope, true); send_functor(rpc_ctx, scope, true);
} else { } else {
distributed::Communicator::GetInstance()->Send(ins[0], scope); distributed::Communicator::GetInstance()->Send(ins[0], scope);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册