!1045 move end_task after assignadd on iterator_loop case

From: @wangxiaotian22
Reviewed-by: @ji_chen,@xchu42
Signed-off-by: @startzgf168
pull/1045/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit d98d77371e

@ -773,7 +773,7 @@ Status TaskGenerator::FindBpOfEnv(const ComputeGraphPtr &graph, const std::strin
}
if (graph->GetNeedIteration()) {
if (op_desc->GetName() == NODE_NAME_NET_OUTPUT + '_' + NODE_NAME_STREAM_SWITCH + "_StreamActive") {
if (op_desc->GetName() == NODE_NAME_FLOWCTRL_LOOP_ASSIGNADD) {
profiling_point.end_index.insert(current_idx);
GELOGI("Iter end name %s, idx %u, from Node_Output_IteratorCtrl_StreamSwitch_StreamActive",
op_desc->GetName().c_str(), current_idx);

Loading…
Cancel
Save