提交 fe3b7843 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!50 Fixed pylint warning

Merge pull request !50 from zhangyunshu/zys_fixed_pylint
......@@ -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'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册