diff --git a/parser/tensorflow/tensorflow_parser.cc b/parser/tensorflow/tensorflow_parser.cc index 2113a96..fedf63b 100644 --- a/parser/tensorflow/tensorflow_parser.cc +++ b/parser/tensorflow/tensorflow_parser.cc @@ -101,7 +101,8 @@ graphStatus aclgrphParseTensorFlow(const char *model_file, ge::Graph &graph) { } // Create an empty computegraph - ge::ComputeGraphPtr compute_graph = ge::parser::MakeShared("tmpGraph"); + ge::ComputeGraphPtr compute_graph = ge::parser::MakeShared("tmpGraph" + + std::to_string(ge::parser::GetCurrentTimestamp())); if (compute_graph == nullptr) { REPORT_CALL_ERROR("E19999", "New ComputeGraph failed"); GELOGE(FAILED, "Create ComputeGraph fail."); @@ -154,7 +155,8 @@ graphStatus aclgrphParseTensorFlow(const char *model_file, const std::map(graph_name); if (compute_graph == nullptr) { REPORT_CALL_ERROR("E19999", "New ComputeGraph failed");