Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
74e4593c
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
8
Star
4
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看板
提交
74e4593c
编写于
7月 17, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
7月 17, 2020
浏览文件
操作
浏览文件
下载
差异文件
!432 UI tensor bugfix
Merge pull request !432 from 夏易凡/0710master
上级
9a63a44d
669c3951
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
17 addition
and
11 deletion
+17
-11
mindinsight/ui/src/components/gridTableSimple.vue
mindinsight/ui/src/components/gridTableSimple.vue
+11
-5
mindinsight/ui/src/components/histogramUnit.vue
mindinsight/ui/src/components/histogramUnit.vue
+1
-1
mindinsight/ui/src/views/train-manage/histogram.vue
mindinsight/ui/src/views/train-manage/histogram.vue
+1
-1
mindinsight/ui/src/views/train-manage/tensor.vue
mindinsight/ui/src/views/train-manage/tensor.vue
+4
-4
未找到文件。
mindinsight/ui/src/components/gridTableSimple.vue
浏览文件 @
74e4593c
...
...
@@ -114,6 +114,7 @@ export default {
updated
:
false
,
// Updated
scrollTop
:
false
,
// Wheather scroll to the top
filterCorrect
:
true
,
// Wheather the dimension input is correct
viewResizeFlag
:
false
,
// Size reset flag
// Accuray options
accuracyArr
:
[
{
label
:
0
,
value
:
0
},
...
...
@@ -274,9 +275,10 @@ export default {
this
.
gridObj
.
setData
(
this
.
formateArr
,
this
.
scrollTop
);
this
.
scrollTop
=
false
;
const
columnsLength
=
this
.
columnsData
.
length
;
if
(
this
.
columnsLength
!==
columnsLength
)
{
if
(
this
.
columnsLength
!==
columnsLength
||
this
.
viewResizeFlag
)
{
this
.
gridObj
.
setColumns
(
this
.
columnsData
);
this
.
columnsLength
=
columnsLength
;
this
.
viewResizeFlag
=
false
;
}
this
.
gridObj
.
render
();
});
...
...
@@ -367,10 +369,14 @@ export default {
*/
resizeView
()
{
if
(
this
.
gridObj
)
{
this
.
$nextTick
(()
=>
{
this
.
gridObj
.
resizeCanvas
();
this
.
gridObj
.
render
();
});
if
(
this
.
incorrectData
)
{
this
.
viewResizeFlag
=
true
;
}
else
{
this
.
$nextTick
(()
=>
{
this
.
gridObj
.
resizeCanvas
();
this
.
gridObj
.
render
();
});
}
}
},
/**
...
...
mindinsight/ui/src/components/histogramUnit.vue
浏览文件 @
74e4593c
...
...
@@ -696,7 +696,7 @@ export default {
});
if
(
yIndex
===
null
&&
this
.
viewName
===
1
)
{
this
.
fullData
.
forEach
((
item
,
index
)
=>
{
if
(
index
>
value
[
1
])
{
if
(
index
>
=
value
[
1
])
{
yIndex
=
yIndex
===
null
?
index
:
Math
.
min
(
yIndex
,
index
);
}
});
...
...
mindinsight/ui/src/views/train-manage/histogram.vue
浏览文件 @
74e4593c
...
...
@@ -952,7 +952,7 @@ export default {
});
if
(
yIndex
===
null
&&
this
.
curViewName
===
1
)
{
sampleObject
.
chartData
.
forEach
((
item
,
index
)
=>
{
if
(
index
>
value
[
1
])
{
if
(
index
>
=
value
[
1
])
{
yIndex
=
yIndex
===
null
?
index
:
Math
.
min
(
yIndex
,
index
);
}
});
...
...
mindinsight/ui/src/views/train-manage/tensor.vue
浏览文件 @
74e4593c
...
...
@@ -566,7 +566,7 @@ export default {
sampleItem
.
curStep
=
''
;
sampleItem
.
sliderValue
=
0
;
sampleItem
.
totalStepNum
=
0
;
this
.
clearMartixData
();
this
.
clearMartixData
(
sampleItem
);
return
;
}
const
oldTotalStepNum
=
sampleItem
.
totalStepNum
;
...
...
@@ -966,9 +966,6 @@ export default {
clearTimeout
(
sampleItem
.
sliderChangeTimer
);
sampleItem
.
sliderChangeTimer
=
null
;
}
if
(
sampleItem
.
curMartixShowSliderValue
===
sliderValue
)
{
return
;
}
if
(
!
sampleItem
.
fullData
||
!
sampleItem
.
fullData
[
sliderValue
])
{
return
;
}
...
...
@@ -980,6 +977,9 @@ export default {
);
sampleItem
.
curDataType
=
sampleItem
.
formateData
.
value
.
data_type
;
sampleItem
.
curDims
=
JSON
.
stringify
(
sampleItem
.
formateData
.
value
.
dims
);
if
(
sampleItem
.
curMartixShowSliderValue
===
sliderValue
)
{
return
;
}
sampleItem
.
sliderChangeTimer
=
setTimeout
(()
=>
{
this
.
freshtMartixData
(
sampleItem
);
},
500
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录