Browse Source

UI fix the top row form tensor tables displays incorrectly form

three-dimensional to two-dimensional when autoupdate is open
tags/0.7.0-beta
xiayifan 5 years ago
parent
commit
e5d2acb939
4 changed files with 11 additions and 5 deletions
  1. +6
    -2
      mindinsight/ui/src/components/gridTableSimple.vue
  2. +1
    -1
      mindinsight/ui/src/locales/zh-cn.json
  3. +2
    -1
      mindinsight/ui/src/views/train-manage/tensor.vue
  4. +2
    -1
      mindinsight/ui/src/views/train-manage/training-dashboard.vue

+ 6
- 2
mindinsight/ui/src/components/gridTableSimple.vue View File

@@ -296,7 +296,9 @@ export default {
*/
accuracyChange(value) {
this.formateGridArray();
this.updateGrid();
if (!this.requestError && !this.incorrectData) {
this.updateGrid();
}
},
/**
* Dimension selection changed
@@ -369,7 +371,9 @@ export default {
}
this.formateGridArray();
this.formateColumnsData();
this.updateGrid();
if (!this.incorrectData) {
this.updateGrid();
}
});
},
/**


+ 1
- 1
mindinsight/ui/src/locales/zh-cn.json View File

@@ -395,7 +395,7 @@
"allCpu": "CPU-总计:",
"chipNameTip": "芯片名称",
"deviceIdTip": "芯片号",
"availableTip": "芯片是否空闲(仅供参考)",
"availableTip": "芯片是否空闲",
"healthTip": "芯片健康指数",
"ipTip": "芯片IP地址",
"aicoreTip": "芯片利用率",


+ 2
- 1
mindinsight/ui/src/views/train-manage/tensor.vue View File

@@ -707,13 +707,14 @@ export default {
this.$nextTick(() => {
elementItem = this.$refs[sampleItem.ref];
if (elementItem) {
elementItem[0].updateGridData();
if (showLimitError) {
elementItem[0].showRequestErrorMessage(
errorMsg,
sampleItem.formateData.value.dims,
sampleItem.filterStr,
);
} else {
elementItem[0].updateGridData();
}
}
});


+ 2
- 1
mindinsight/ui/src/views/train-manage/training-dashboard.vue View File

@@ -990,9 +990,10 @@ export default {
this.$nextTick(() => {
const elementItem = this.$refs.tensorChart;
if (elementItem) {
elementItem.updateGridData();
if (showLimitError) {
elementItem.showRequestErrorMessage(errorMsg);
} else {
elementItem.updateGridData();
}
}
});


Loading…
Cancel
Save