From 2ac1a6c5a2722287cbf29ba2d7e6554b1923b1ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B1=9F=E6=B6=9B?= Date: Thu, 18 Aug 2022 01:09:45 +0000 Subject: [PATCH] =?UTF-8?q?!621=20modify=20tensorflow=5Fparser=20fixed=20g?= =?UTF-8?q?raphName=20Merge=20pull=20request=20!621=20from=20=E5=88=98?= =?UTF-8?q?=E6=B1=9F=E6=B6=9B/ge=5Fdev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parser/tensorflow/tensorflow_parser.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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");