Browse Source

fixed pylint warning

tags/v0.2.0-alpha
zhangyunshu 6 years ago
parent
commit
389817a0a4
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