Browse Source

case plugin

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

+ 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)); // 子图分配parent index
GE_CHK_STATUS_RET(pass_manager.AddPass("DataPass", new (std::nothrow) DataPass)); // set subgraph parent index
return pass_manager.Run(graph);
}
}


Loading…
Cancel
Save