From 8ac6749131237f6cc8419ace07e17b6cc2e3bb95 Mon Sep 17 00:00:00 2001 From: l00444296 Date: Wed, 4 Nov 2020 18:19:57 +0800 Subject: [PATCH] Description:Support model_exit in GE Team:HISI_SW Feature or Bugfix:Feature --- parser/common/acl_graph_parser_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/common/acl_graph_parser_util.cc b/parser/common/acl_graph_parser_util.cc index a3b5c59..6146fcf 100644 --- a/parser/common/acl_graph_parser_util.cc +++ b/parser/common/acl_graph_parser_util.cc @@ -182,7 +182,7 @@ bool ParseSingleLine(const std::string &line, std::map if (!temp.empty()) { std::string::size_type pos = temp.find_first_of(delimiter); if (pos == std::string::npos) { - GELOGE(PARAM_INVALID, "Incorrect line [%s], it must include [%s].Perhaps you use illegal chinese symbol", + GELOGE(ge::PARAM_INVALID, "Incorrect line [%s], it must include [%s].Perhaps you use illegal chinese symbol", line.c_str(), delimiter.c_str()); return false; } @@ -190,7 +190,7 @@ bool ParseSingleLine(const std::string &line, std::map std::string map_key = TrimConf(temp.substr(0, pos)); std::string value = TrimConf(temp.substr(pos + 1)); if (map_key.empty() || value.empty()) { - GELOGE(PARAM_INVALID, "Map_key or value empty. %s", line.c_str()); + GELOGE(ge::PARAM_INVALID, "Map_key or value empty. %s", line.c_str()); return false; }