Browse Source

errorcode

pull/755/head
weiyang 4 years ago
parent
commit
48585c78f0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/executor/ge_executor.cc

+ 2
- 2
ge/executor/ge_executor.cc View File

@@ -599,7 +599,7 @@ Status GeExecutor::UnloadModel(uint32_t model_id) {
Status ret = GraphLoader::DestroyAicpuSessionForInfer(model_id);
if (ret != SUCCESS) {
GELOGE(ret, "[GraphLoader] DestroyAicpuSessionForInfer failed. model id: %u", model_id);
return ACL_ERROR_GE_INTERNAL_ERROR;
return ret;
}

std::shared_ptr<hybrid::HybridDavinciModel> hybrid_davinci_model =
@@ -617,7 +617,7 @@ Status GeExecutor::UnloadModel(uint32_t model_id) {
ret = GraphLoader::UnloadModel(model_id);
if (ret != SUCCESS) {
GELOGE(ret, "[GraphLoader] DestroyAicpuSessionForInfer failed. model id: %u", model_id);
return ACL_ERROR_GE_UNLOAD_MODEL;
return ret;
}
return SUCCESS;
}


Loading…
Cancel
Save