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

!101 Fix pylint warnings for HistogramContainer

Merge pull request !101 from liangyongxiong/master
......@@ -72,16 +72,16 @@ class Bucket:
class HistogramContainer:
# Max quantity of original buckets.
MAX_ORIGINAL_BUCKETS_COUNT = 90
"""
Histogram data container.
Args:
histogram_message (Summary.Histogram): Histogram message in summary file.
"""
# Max quantity of original buckets.
MAX_ORIGINAL_BUCKETS_COUNT = 90
def __init__(self, histogram_message: Summary.Histogram):
self._msg = histogram_message
original_buckets = [Bucket(bucket.left, bucket.width, bucket.count) for bucket in self._msg.buckets]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册