diff --git a/paddle/fluid/framework/executor.cc b/paddle/fluid/framework/executor.cc index 32c0a3d41b526e5be343e5a6535dfd7eb541fe1a..af127937e78e4c19e98cb7fa8b2501091b3d0cbe 100644 --- a/paddle/fluid/framework/executor.cc +++ b/paddle/fluid/framework/executor.cc @@ -352,8 +352,8 @@ void Executor::RunPreparedContext(ExecutorPrepareContext* ctx, Scope* scope, // some operators may create local scope when running, such as while_op. // But when while_op also create a local executor to run it's sub block, // the sub scopes it created should not be dropped immediately, because - // while_grad_op will use some variables during while_op run, so we need - // to keep the kids and wait for the outer executor to drop them. + // while_grad_op will use some variables created during while_op run, so + // we need to keep the kids and wait for the outer executor to drop them. scope->DropKids(); } }