Browse Source

fix compile

pull/825/head
chuxing 5 years ago
parent
commit
f0ba6d638e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/single_op/single_op_model.cc

+ 1
- 1
ge/single_op/single_op_model.cc View File

@@ -482,7 +482,7 @@ Status SingleOpModel::BuildDynamicOp(StreamResource &resource, DynamicSingleOp &

auto ge_model = model_helper_.GetGeModel();
GE_CHECK_NOTNULL(ge_model);
if (ge_model->GetModelTaskDefPtr()->task_num() > 1) {
if (ge_model->GetModelTaskDefPtr()->task_size() > 1) {
GELOGD("Build single op with multiple tasks");
GE_CHK_STATUS_RET_NOLOG(hybrid::NodeExecutorManager::GetInstance().EnsureInitialized());
single_op.hybrid_model_.reset(new (std::nothrow)hybrid::HybridModel(model_helper_.GetGeRootModel()));


Loading…
Cancel
Save