From 1d8108a88725cc35c0a5c087e961cfe9ab6e5e91 Mon Sep 17 00:00:00 2001 From: A1streomeria Date: Wed, 30 Jul 2025 10:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbench=E4=BE=A7=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E6=98=BE=E7=A4=BA=E6=9C=89=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fe/src/graph_board/components/hierarchy/useGraph.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/graph_board/components/hierarchy/useGraph.ts b/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/graph_board/components/hierarchy/useGraph.ts index 481c804afa..490446b9b3 100644 --- a/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/graph_board/components/hierarchy/useGraph.ts +++ b/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/graph_board/components/hierarchy/useGraph.ts @@ -96,9 +96,6 @@ const useGraph = (): UseGraphType => { if (!colors || !graphType) { return NO_MATCHED_NODE_COLOR; } - if (graphType === 'Bench') { - return BENCH_NODE_COLOR; - } if (isEmpty(node.matchedNodeLink)) { return Object.keys(colors).find((color) => colors[color].value === '无匹配节点') ?? NO_MATCHED_NODE_COLOR; } -- Gitee