Browse Source

delete repeat code

tags/v1.5.1
zhou_chao1993 3 years ago
parent
commit
e2741096ad
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      ge/hybrid/executor/hybrid_model_async_executor.cc

+ 0
- 2
ge/hybrid/executor/hybrid_model_async_executor.cc View File

@@ -78,8 +78,6 @@ Status HybridModelAsyncExecutor::Start(const std::shared_ptr<ModelListener> &lis
GetThreadLocalContext() = *executor_->GetContext()->ge_context; GetThreadLocalContext() = *executor_->GetContext()->ge_context;
GetContext().SetSessionId(executor_->GetContext()->session_id); GetContext().SetSessionId(executor_->GetContext()->session_id);
GetContext().SetContextId(executor_->GetContext()->context_id); GetContext().SetContextId(executor_->GetContext()->context_id);
GE_CHECK_NOTNULL(executor_->GetContext()->ge_context);
GetThreadLocalContext() = *executor_->GetContext()->ge_context;
return RunInternal(); return RunInternal();
}); });




Loading…
Cancel
Save