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
!1153
change device_target donot change loop_sink flag
Merge pull request
!1153
from caifubi/setcontext-donot-change-loopsink
tags/v0.3.0-alpha
mindspore-ci-bot
Gitee
5 years ago
parent
aacb03563e
bd269f27e6
commit
40beecc3a6
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
mindspore/ccsrc/utils/context/ms_context.cc
+ 0
- 1
mindspore/ccsrc/utils/context/ms_context.cc
View File
@@ -135,7 +135,6 @@ bool MsContext::set_device_target(const std::string &target) {
} else {
device_target_ = target;
}
enable_loop_sink_ = device_target_ == kAscendDevice;
MS_LOG(INFO) << "ms set context device target:" << target;
return true;
}
Write
Preview
Loading…
Cancel
Save