Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
4c22ac76
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
7
Star
3
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindinsight
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4c22ac76
编写于
4月 23, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
4月 23, 2020
浏览文件
操作
浏览文件
下载
差异文件
!67 optimize comments
Merge pull request !67 from wenkai/wk0422_3
上级
cced14ff
0e888c03
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
8 deletion
+7
-8
mindinsight/datavisual/data_transform/histogram_container.py
mindinsight/datavisual/data_transform/histogram_container.py
+6
-6
mindinsight/lineagemgr/summary/_summary_adapter.py
mindinsight/lineagemgr/summary/_summary_adapter.py
+1
-2
未找到文件。
mindinsight/datavisual/data_transform/histogram_container.py
浏览文件 @
4c22ac76
...
...
@@ -120,12 +120,12 @@ class HistogramContainer:
It's caller's duty to ensure input is valid.
Why we need visual range for histograms?
Miss aligned buckets between steps might miss-lead users about the
t
rend of a tensor. Because for given tensor, if you have thinner buckets, count of every bucket might get
low, however, if you have thicker buckets, count of every bucket might get high. If there are the above two
kinds of histogram in one graph, user might think the histogram with thicker buckets has more values. This is
miss-leading. So we need to unify buckets across steps. Visual range for histogram is a technology for unifying
buckets.
Why we need visual range for histograms?
Aligned buckets between steps can help users know about the trend of
t
ensors. Miss aligned buckets between steps might miss-lead users about the trend of a tensor. Because for
given tensor, if you have thinner buckets, count of every bucket will get lower, however, if you have
thicker buckets, count of every bucket will get higher. When they are displayed together, user might think
the histogram with thicker buckets has more values. This is miss-leading. So we need to unify buckets across
steps. Visual range for histogram is a technology for unifying
buckets.
Args:
max_val (float): Max value for visual histogram.
...
...
mindinsight/lineagemgr/summary/_summary_adapter.py
浏览文件 @
4c22ac76
...
...
@@ -16,8 +16,7 @@
import
time
from
mindinsight.datavisual.proto_files.mindinsight_lineage_pb2
import
LineageEvent
from
mindinsight.lineagemgr.common.exceptions.exceptions
import
LineageParamTypeError
,
\
LineageParamValueError
from
mindinsight.lineagemgr.common.exceptions.exceptions
import
LineageParamTypeError
from
mindinsight.lineagemgr.common.log
import
logger
as
log
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录