提交 f52714d3 编写于 作者: Y Yu Yang

Debug

上级 0023c3bc
...@@ -172,6 +172,10 @@ struct FetchOpHandle : public OpHandle { ...@@ -172,6 +172,10 @@ struct FetchOpHandle : public OpHandle {
} }
void Run() override { void Run() override {
for (auto *input : inputs_) {
input->generated_op_->Wait(nullptr);
}
tensors_.resize(inputs_.size()); tensors_.resize(inputs_.size());
auto *var = static_cast<VarHandle *>(inputs_[0]); auto *var = static_cast<VarHandle *>(inputs_[0]);
auto &var_name = var->name_; auto &var_name = var->name_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册