diff --git a/ge/graph/load/new_model_manager/davinci_model.cc b/ge/graph/load/new_model_manager/davinci_model.cc index 1c7291a0..984bdeac 100755 --- a/ge/graph/load/new_model_manager/davinci_model.cc +++ b/ge/graph/load/new_model_manager/davinci_model.cc @@ -598,6 +598,7 @@ void DavinciModel::OpDebugUnRegister() { // initialize op sequence and call initialization function of each op respectively Status DavinciModel::Init(void *dev_ptr, size_t mem_size, void *weight_ptr, size_t weight_size) { // validating params + GE_CHK_BOOL_TRUE_EXEC_WITH_LOG(priority_ < 0 || priority_ > 7, return PARAM_INVALID, "Priority must between 0-7, now is %d", priority_); GE_CHK_BOOL_RET_STATUS(ge_model_ != nullptr, PARAM_INVALID, "GeModel is null."); diff --git a/metadef b/metadef index 624d39ed..03ad8a28 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit 624d39ed2458ec90ea71afa07e226fe183d9b634 +Subproject commit 03ad8a2899d7ac4f06e3ce5e21f533a48aa77895