From 4f97bc9abdfc2d997fbf9406b07034fb168c9f98 Mon Sep 17 00:00:00 2001 From: wjm Date: Wed, 23 Dec 2020 21:00:20 +0800 Subject: [PATCH] fix case plugin error --- ge/graph/passes/data_pass.cc | 2 +- ge/graph/preprocess/multi_batch_copy_graph.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/graph/passes/data_pass.cc b/ge/graph/passes/data_pass.cc index 1c897214..2a689cd5 100644 --- a/ge/graph/passes/data_pass.cc +++ b/ge/graph/passes/data_pass.cc @@ -194,7 +194,7 @@ Status DataPass::Run(ComputeGraphPtr compute_graph) { continue; } - node->GetOpDesc()->SetName(parent_node->GetName() + "_" + compute_graph->GetName() + "/" + node->GetName()); + node->GetOpDesc()->SetName(parent_node->GetName() + "_" + compute_graph->GetName() + "/" + node->GetName()); } } diff --git a/ge/graph/preprocess/multi_batch_copy_graph.cc b/ge/graph/preprocess/multi_batch_copy_graph.cc index 754df184..4f7cd9fb 100644 --- a/ge/graph/preprocess/multi_batch_copy_graph.cc +++ b/ge/graph/preprocess/multi_batch_copy_graph.cc @@ -1698,7 +1698,7 @@ Status ProcessMultiBatch(ComputeGraphPtr &graph) { if (multi_batch_with_switchn == nullptr) { PassManager pass_manager; GE_CHK_STATUS_RET(pass_manager.AddPass("MultiBatchClonePass", new (std::nothrow) MultiBatchClonePass)); - GE_CHK_STATUS_RET(pass_manager.AddPass("DataPass", new (std::nothrow) DataPass)); + GE_CHK_STATUS_RET(pass_manager.AddPass("DataPass", new (std::nothrow) DataPass)); // 子图分配parent index return pass_manager.Run(graph); } }