提交 285be316 编写于 作者: L lilei

fix a bug for save file

上级 497067d7
......@@ -523,7 +523,7 @@ class _Executor:
file_format (str): MindSpore currently support 'GEIR' and 'ONNX' format for exported model
"""
from .._c_expression import export_graph
phase = 'export' + '.' + str(net.create_time)
phase = 'export' + '.' + self.phase_prefix + '.' + str(net.create_time)
export_graph(file_name, file_format, phase)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册