|
|
@@ -712,7 +712,7 @@ graphStatus aclgrphBuildModel(const ge::Graph &graph, const std::map<AscendStrin |
|
|
|
std::map<std::string, std::string> tmp_build_options; |
|
|
|
for (auto &option : build_options) { |
|
|
|
if (option.first.GetString() == nullptr || option.second.GetString() == nullptr) { |
|
|
|
GELOGE(GRAPH_FAILED, "[Check][Options]AclgrphBuildInitialize option is nullptr."); |
|
|
|
GELOGE(GRAPH_FAILED, "[Check][Options7]AclgrphBuildInitialize option is nullptr."); |
|
|
|
return GRAPH_FAILED; |
|
|
|
} |
|
|
|
std::string key = option.first.GetString(); |
|
|
|