diff --git a/plugins/tensorboard-plugins/tb_graph_ascend/server/app/service/graph_service.py b/plugins/tensorboard-plugins/tb_graph_ascend/server/app/service/graph_service.py index 9aa68910b334566719bddd3e2c28ac56acdc0c3f..04727baac923f3fa00cea4756e36f39f9de4db32 100644 --- a/plugins/tensorboard-plugins/tb_graph_ascend/server/app/service/graph_service.py +++ b/plugins/tensorboard-plugins/tb_graph_ascend/server/app/service/graph_service.py @@ -275,7 +275,7 @@ class GraphService: try: # 根据任务类型计算误差 if task == 'md5' or task == 'summary': - if(is_match_children): + if is_match_children: result = MatchNodesController.process_task_add_child_layer(graph_data, npu_node_name, bench_node_name, task) return result @@ -324,7 +324,7 @@ class GraphService: try: # 根据任务类型计算误差 if task == 'md5' or task == 'summary': - if(is_unmatch_children): + if is_unmatch_children: result = MatchNodesController.process_task_delete_child_layer(graph_data, npu_node_name, bench_node_name, task) else: