From aac7897a4484123b35f41a3c2def42072b055677 Mon Sep 17 00:00:00 2001 From: wjm Date: Thu, 7 Jan 2021 14:01:14 +0800 Subject: [PATCH] fix l2 buffer error --- ge/graph/build/task_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 ge/graph/build/task_generator.cc diff --git a/ge/graph/build/task_generator.cc b/ge/graph/build/task_generator.cc old mode 100755 new mode 100644 index 7e45ad61..c9ff1914 --- a/ge/graph/build/task_generator.cc +++ b/ge/graph/build/task_generator.cc @@ -567,7 +567,7 @@ Status TaskGenerator::MarkFirstAndLastOps(const vector &ops, bool is_ continue; } string op_type = op_desc->GetType(); - if (!op_desc->GetSubgraphInstanceNames().empty() || separator_types.count(op_type) != 0) { + if ((!is_single_stream && !op_desc->GetSubgraphInstanceNames().empty()) || separator_types.count(op_type) != 0) { continuous_op_lists.emplace_back(vector()); } else { continuous_op_lists.back().emplace_back(op_desc);