From 0cd11979af2d56edb6c150e5d1c84b3a3eaa7539 Mon Sep 17 00:00:00 2001 From: maning202007 Date: Sat, 23 Dec 2023 19:47:13 +0800 Subject: [PATCH] Fix the issue for Load operator name --- mindinsight/datavisual/data_transform/graph/msgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindinsight/datavisual/data_transform/graph/msgraph.py b/mindinsight/datavisual/data_transform/graph/msgraph.py index 25bafcfa..5ef65a9e 100644 --- a/mindinsight/datavisual/data_transform/graph/msgraph.py +++ b/mindinsight/datavisual/data_transform/graph/msgraph.py @@ -66,7 +66,7 @@ class MSGraph(Graph): name = f'{node_proto.op_type}-op{node_id}' node_name = Node.create_node_name(node_proto.scope, name) - if node_proto.full_name and node_proto.op_type != NodeTypeEnum.LOAD.value: + if node_proto.full_name: node_name = node_proto.full_name if node_proto.full_name and any( -- Gitee