Browse Source

!50 Fixed pylint warning

Merge pull request !50 from zhangyunshu/zys_fixed_pylint
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 6 years ago
parent
commit
fe3b7843e5
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      mindinsight/datavisual/data_transform/ms_data_loader.py

+ 4
- 4
mindinsight/datavisual/data_transform/ms_data_loader.py View File

@@ -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'):


Loading…
Cancel
Save