From 389817a0a43990ea1bed57c0382d910c839b6d9d Mon Sep 17 00:00:00 2001 From: zhangyunshu Date: Tue, 21 Apr 2020 10:42:23 +0800 Subject: [PATCH] fixed pylint warning --- mindinsight/datavisual/data_transform/ms_data_loader.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mindinsight/datavisual/data_transform/ms_data_loader.py b/mindinsight/datavisual/data_transform/ms_data_loader.py index 0aea3bc..9e57565 100644 --- a/mindinsight/datavisual/data_transform/ms_data_loader.py +++ b/mindinsight/datavisual/data_transform/ms_data_loader.py @@ -238,10 +238,10 @@ class MSDataLoader: histogram_msg = value.histogram tag = '{}/{}'.format(value.tag, PluginNameEnum.HISTOGRAM.value) tensor_event = TensorEvent(wall_time=event.wall_time, - step=event.step, - tag=tag, - plugin_name=PluginNameEnum.HISTOGRAM.value, - value=histogram_msg) + step=event.step, + tag=tag, + plugin_name=PluginNameEnum.HISTOGRAM.value, + value=histogram_msg) self._events_data.add_tensor_event(tensor_event) if event.HasField('graph_def'): -- GitLab