未验证 提交 9b6387e7 编写于 作者: K kexinzhao 提交者: GitHub

address comments (#7900)

上级 1f3caaa8
...@@ -170,8 +170,6 @@ static bool has_feed_operators( ...@@ -170,8 +170,6 @@ static bool has_feed_operators(
feed_targets.find(feed_target_name) != feed_targets.end(), feed_targets.find(feed_target_name) != feed_targets.end(),
"Feed operator output name '%s' cannot be found in 'feed_targets'", "Feed operator output name '%s' cannot be found in 'feed_targets'",
feed_target_name); feed_target_name);
} else {
break;
} }
} }
...@@ -270,8 +268,6 @@ void Executor::Run(const ProgramDesc& program, Scope* scope, ...@@ -270,8 +268,6 @@ void Executor::Run(const ProgramDesc& program, Scope* scope,
int idx = boost::get<int>(op->GetAttr("col")); int idx = boost::get<int>(op->GetAttr("col"));
SetFeedVariable(scope, *feed_targets[feed_target_name], feed_holder_name, SetFeedVariable(scope, *feed_targets[feed_target_name], feed_holder_name,
idx); idx);
} else {
break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册