From 45b8cff4a543d9a363aaf663d266d8c3ee178e95 Mon Sep 17 00:00:00 2001 From: jinyaohui Date: Fri, 19 Jun 2020 17:20:50 +0800 Subject: [PATCH] modify export phase --- mindspore/common/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/common/api.py b/mindspore/common/api.py index f29b931c534..a066d0791f5 100644 --- a/mindspore/common/api.py +++ b/mindspore/common/api.py @@ -400,7 +400,7 @@ class _Executor: key = generate_key(phase, dic) self.phase_prefix = str(key[1]) if phase == 'export': - phase = phase + '.' + str(obj.create_time) + phase = phase + '.' + self.phase_prefix + '.' + str(obj.create_time) else: phase = self.phase_prefix + phase + '.' + str(obj.create_time) enable_debug_runtime = context.get_context("enable_debug_runtime")