From 2b1ecdf55a07f0c27f18ea7e29abc55f7eaa748c Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Sat, 16 Jun 2018 06:56:33 +0800 Subject: [PATCH] update comment --- paddle/fluid/framework/executor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/framework/executor.cc b/paddle/fluid/framework/executor.cc index 32c0a3d41b..af127937e7 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(); } } -- GitLab