提交 9d3d82f9 编写于 作者: Y Yang Yang(Tony) 提交者: GitHub

Update executor.md

上级 11c6dc67
......@@ -17,7 +17,7 @@ void Executor::Run(const ProgramDesc& pdesc, Scope* scope, int block_id) {
// Run the block
Scope& local_scope = scope->NewScope();
for (auto& op_desc : block.ops()) {
for (auto& var : op_desc) {
for (auto& var : op_desc.outputs()) {
for (auto& argu : var.arguments()) {
// Create temp variable in the local_scope
if (local_scope.FindVar(argu) == nullptr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册