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

!56 fix histogram bugs

Merge pull request !56 from wenkai/wk0421
......@@ -42,7 +42,7 @@ class HistogramContainer:
self._visual_min = self._min
# default bin number
self._visual_bins = 10
self._count = self._msg.count
self._count = sum(bucket[2] for bucket in self._original_buckets)
# Note that tuple is immutable, so sharing tuple is often safe.
self._re_sampled_buckets = self._original_buckets
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册