!21347 fix the variable init subgraph name using training with GE

Merge pull request !21347 from chenmai1102/cm_master
This commit is contained in:
i-robot 2021-08-28 03:44:21 +00:00 committed by Gitee
commit 1a6c874e1b
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ class _Executor:
self._build_data_graph(obj, phase)
if "export" not in phase:
init_phase = "init_subgraph" + "." + str(obj.create_time)
init_phase = "init_subgraph." + str(obj.create_time) + "." + str(id(obj))
_exec_init_graph(obj, init_phase)
elif "export" in phase:
self._build_data_graph(obj, phase)