From d8e59322e5110cba5d1d91528ac536abaa74d677 Mon Sep 17 00:00:00 2001 From: caifubi Date: Wed, 19 Jan 2022 10:22:16 +0800 Subject: [PATCH] Use Primitive->id() as unique id --- mindspore/ccsrc/pipeline/pynative/pynative_execute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/pipeline/pynative/pynative_execute.cc b/mindspore/ccsrc/pipeline/pynative/pynative_execute.cc index b3dbd745828..e16237f676b 100644 --- a/mindspore/ccsrc/pipeline/pynative/pynative_execute.cc +++ b/mindspore/ccsrc/pipeline/pynative/pynative_execute.cc @@ -413,7 +413,7 @@ void GetSingleOpGraphInfo(const OpExecInfoPtr &op_exec_info, const std::vectorGetPyObj()); + buf << "_" << std::to_string(op_prim->id()); } graph_info = buf.str();