Browse Source

test ut

pull/745/head
lwx897429 5 years ago
parent
commit
455ba63a1a
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      ge/graph/load/new_model_manager/davinci_model.cc
  2. +1
    -1
      metadef

+ 1
- 0
ge/graph/load/new_model_manager/davinci_model.cc View File

@@ -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.");


+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit 624d39ed2458ec90ea71afa07e226fe183d9b634
Subproject commit 03ad8a2899d7ac4f06e3ce5e21f533a48aa77895

Loading…
Cancel
Save