From 78254548ffdea623dffb8d987dc43bdd77fc0b23 Mon Sep 17 00:00:00 2001 From: jiangmianjiao <1419609572@qq.com> Date: Wed, 19 Apr 2023 10:55:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E3=80=91=20=E4=BF=AE=E6=94=B9=E7=BB=9F=E8=AE=A1=E8=A1=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA=E9=94=99=E4=BD=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=E3=80=90=E4=BF=AE=E6=94=B9=E4=BA=BA=E3=80=91=20jia?= =?UTF-8?q?ngmianjiao=2030036454?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tb_plugin/torch_tb_profiler/profiler/run_generator.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tb_plugins/profiling/tb_plugin/torch_tb_profiler/profiler/run_generator.py b/tb_plugins/profiling/tb_plugin/torch_tb_profiler/profiler/run_generator.py index d2504d62fd1..05d4eca353c 100644 --- a/tb_plugins/profiling/tb_plugin/torch_tb_profiler/profiler/run_generator.py +++ b/tb_plugins/profiling/tb_plugin/torch_tb_profiler/profiler/run_generator.py @@ -453,11 +453,10 @@ class RunGenerator(object): else: self.statistic_data[call_name] = { 'Calls': 1, - 'Core': call_type, - 'Max': call_duration, - 'Min': call_duration, 'Total': call_duration, - 'Average': call_duration + 'Min': call_duration, + 'Average': call_duration, + 'Max': call_duration } return display_row -- Gitee