We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d15b264 commit 8ee8372Copy full SHA for 8ee8372
paddle/fluid/framework/details/send_op_handle.cc
@@ -34,7 +34,9 @@ void SendOpHandle::RunImpl() {
34
}
35
in->generated_op_->Wait(dev_ctxes_[p]);
36
37
- this->RunAndRecordEvent([&] { op_->Run(*local_scope_, place_); });
+ auto &tmp_scope = local_scope_->FindVar(kLocalExecScopeName)->Get<Scope *>();
38
+ // auto &lod_tensor = tmp_scope->FindVar(var_name)->Get<LoDTensor>();
39
+ this->RunAndRecordEvent([&] { op_->Run(*tmp_scope, place_); });
40
41
42
std::string SendOpHandle::Name() const { return "send"; }
0 commit comments