This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
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
add '/' when the MS_RDR_PATH does not end with '/'
pull/16133/head
luopengting
4 years ago
parent
8e126e3254
commit
7feb309e06
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
mindspore/ccsrc/debug/env_config_parser.cc
+ 3
- 0
mindspore/ccsrc/debug/env_config_parser.cc
View File
@@ -104,6 +104,9 @@ void EnvConfigParser::ParseFromEnv() {
has_rdr_setting_ = true;
has_rdr_setting_ = true;
std::string path = path_env.value();
std::string path = path_env.value();
if (!path.empty()) {
if (!path.empty()) {
if (path.back() != '/') {
path += '/';
}
rdr_path_ = path;
rdr_path_ = path;
}
}
}
}
Write
Preview
Loading…
Cancel
Save