From 3a0ced91b77a1fcb421f5d4d78b038dea473cefe Mon Sep 17 00:00:00 2001 From: zhangxiaokun Date: Tue, 11 May 2021 10:31:50 +0800 Subject: [PATCH] fix error_message namespace --- ge/client/ge_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/client/ge_api.cc b/ge/client/ge_api.cc index b3918545..9cbd2d06 100644 --- a/ge/client/ge_api.cc +++ b/ge/client/ge_api.cc @@ -601,7 +601,7 @@ Status Session::RunGraph(uint32_t graph_id, const std::vector &inputs, s // Run Graph with stream Asynchronously Status Session::RunGraphWithStreamAsync(uint32_t graph_id, void *stream, const std::vector &inputs, std::vector &outputs) { - ErrorManager::GetInstance().SetStage(ErrorMessage::kModelCompile, ErrorMessage::kOther); + ErrorManager::GetInstance().SetStage(error_message::kModelCompile, error_message::kOther); GELOGT(TRACE_INIT, "Session run graph with stream async start"); ErrorManager::GetInstance().GenWorkStreamIdBySessionGraph(sessionId_, graph_id);