From 9b6387e7aeca545260562fdee4021e040f5294e4 Mon Sep 17 00:00:00 2001 From: kexinzhao Date: Fri, 26 Jan 2018 14:25:24 -0800 Subject: [PATCH] address comments (#7900) --- paddle/framework/executor.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/paddle/framework/executor.cc b/paddle/framework/executor.cc index 50a70d723..cbf3ec752 100644 --- a/paddle/framework/executor.cc +++ b/paddle/framework/executor.cc @@ -170,8 +170,6 @@ static bool has_feed_operators( feed_targets.find(feed_target_name) != feed_targets.end(), "Feed operator output name '%s' cannot be found in 'feed_targets'", feed_target_name); - } else { - break; } } @@ -270,8 +268,6 @@ void Executor::Run(const ProgramDesc& program, Scope* scope, int idx = boost::get(op->GetAttr("col")); SetFeedVariable(scope, *feed_targets[feed_target_name], feed_holder_name, idx); - } else { - break; } } -- GitLab