Browse Source

fix error

pull/947/head
wjm 4 years ago
parent
commit
81cd9527aa
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

@@ -1693,7 +1693,7 @@ Status MultiBatchGraphCopyer::LinkToNodeOutBranch(const NodePtr &node) {


Status ProcessMultiBatch(ComputeGraphPtr &graph) { Status ProcessMultiBatch(ComputeGraphPtr &graph) {
const char *multi_batch_with_case = std::getenv("MULTI_BATCH_WITH_CASE"); const char *multi_batch_with_case = std::getenv("MULTI_BATCH_WITH_CASE");
if (multi_batch_with_case == nullptr) {
if (multi_batch_with_case != nullptr) {
PassManager pass_manager; PassManager pass_manager;
GE_CHK_STATUS_RET(pass_manager.AddPass("MultiBatchClonePass", new (std::nothrow) MultiBatchClonePass)); GE_CHK_STATUS_RET(pass_manager.AddPass("MultiBatchClonePass", new (std::nothrow) MultiBatchClonePass));
return pass_manager.Run(graph); return pass_manager.Run(graph);


Loading…
Cancel
Save