This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!2439
Fix bug of ascend control parser
Merge pull request
!2439
from chenfei_mindspore/fix-bug-ascend-control-parser
tags/v0.6.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
bbea34a947
37ac8bc35d
commit
bd0c538470
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
mindspore/ccsrc/session/ascend_control_parser.cc
+ 0
- 3
mindspore/ccsrc/session/ascend_control_parser.cc
View File
@@ -224,9 +224,6 @@ NotNull<CNodePtr> AscendControlParser::ProcessKernelGraph(NotNull<KernelGraphPtr
// 3. topological sort
kg->SetExecOrderByDefault();
const std::vector<CNodePtr> &nodes = kg->execution_order();
if (nodes.empty()) {
MS_LOG(EXCEPTION) << "KernelGraph " << kg->ToString() << " has no cnodes!";
}
// 4. insert first_label
CNodePtr start_label;
if (last_node != nullptr && last_label != nullptr) {
Write
Preview
Loading…
Cancel
Save