address comments (#7900)

emailweixu-patch-1
kexinzhao 7 years ago committed by GitHub
parent 1f3caaa8a4
commit 9b6387e7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
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;
} }
} }

Loading…
Cancel
Save