Browse Source

!1809 delete repeat code

From: @zhou_chao1993
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @wqtshg
tags/v1.5.1
mindspore-ci-bot Gitee 3 years ago
parent
commit
738da659a1
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