提交 745b6575 编写于 作者: W WeiFeng-mindinsight

UI add edge label when edge shape is empty in graph and add ignore error setting in profiling

上级 ac782460
......@@ -436,7 +436,7 @@
"health": "Health",
"ipAddress": "IP Address",
"aiCore": "AI Core(%)",
"hbmUsage": "HBM Usage(MB)",
"hbmUsage": "HBM-Usage(MB)",
"power": "Power(W)",
"temp": "Temp(℃)"
},
......
......@@ -59,6 +59,9 @@ axios.interceptors.response.use(
router.currentRoute.path === '/train-manage/training-dashboard') {
return Promise.reject(error);
} else if (router.currentRoute.path === '/profiling/profiling-dashboard' &&
error.config.headers.ignoreError) {
return Promise.reject(error);
} else if (router.currentRoute.path === '/profiling-gpu/profiling-dashboard' &&
error.config.headers.ignoreError) {
return Promise.reject(error);
} else if (error.response.data.error_code.toString() === '50545013' ||
......
......@@ -1539,6 +1539,8 @@ export default {
} else {
label = `${edge.data_type} ${edge.shape.join('×')}`;
}
} else if (edge.data_type) {
label = `${edge.data_type} Scalar`;
}
} else {
label = `${edge.count}tensors`;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册