Browse Source

fix case plugin error

tags/v1.2.0
wjm 4 years ago
parent
commit
4f97bc9abd
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ge/graph/passes/data_pass.cc
  2. +1
    -1
      ge/graph/preprocess/multi_batch_copy_graph.cc

+ 1
- 1
ge/graph/passes/data_pass.cc View File

@@ -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());
}
}



+ 1
- 1
ge/graph/preprocess/multi_batch_copy_graph.cc View File

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


Loading…
Cancel
Save