Browse Source

ir build optimize

tags/v1.2.0
wxl 3 years ago
parent
commit
d6388fedde
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/ir_build/ge_ir_build.cc

+ 1
- 1
ge/ir_build/ge_ir_build.cc View File

@@ -316,7 +316,7 @@ graphStatus Impl::CheckOptions(const std::map<std::string, std::string> &options
} }
} }
// Check option EXEC_DISABLE_REUSED_MEMORY // Check option EXEC_DISABLE_REUSED_MEMORY
it = options_.find(EXEC_DISABLE_REUSED_MEMORY);
it = options_.find(ge::ir_option::EXEC_DISABLE_REUSED_MEMORY);
if (it != options_.end() && it->second != kReUseMemEnable && it->second != kReUseMemDisEnable) { if (it != options_.end() && it->second != kReUseMemEnable && it->second != kReUseMemDisEnable) {
GELOGE(GRAPH_PARAM_INVALID, "option(EXEC_DISABLE_REUSED_MEMORY) value[%s] is invalid ", it->second.c_str()); GELOGE(GRAPH_PARAM_INVALID, "option(EXEC_DISABLE_REUSED_MEMORY) value[%s] is invalid ", it->second.c_str());
return GRAPH_PARAM_INVALID; return GRAPH_PARAM_INVALID;


Loading…
Cancel
Save