Skip to content

Commit 2b1ecdf

Browse files
committed
update comment
1 parent daa0fbd commit 2b1ecdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/framework/executor.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ void Executor::RunPreparedContext(ExecutorPrepareContext* ctx, Scope* scope,
352352
// some operators may create local scope when running, such as while_op.
353353
// But when while_op also create a local executor to run it's sub block,
354354
// the sub scopes it created should not be dropped immediately, because
355-
// while_grad_op will use some variables during while_op run, so we need
356-
// to keep the kids and wait for the outer executor to drop them.
355+
// while_grad_op will use some variables created during while_op run, so
356+
// we need to keep the kids and wait for the outer executor to drop them.
357357
scope->DropKids();
358358
}
359359
}

0 commit comments

Comments
 (0)