This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
MindSpore-GraphEngine
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
10
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
display model info
pull/688/head
wangwenhua1@huawei.com
5 years ago
parent
4dad1b8467
commit
d248531bc1
2 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ge/generator/ge_generator.cc
+5
-0
ge/offline/main.cc
+ 1
- 1
ge/generator/ge_generator.cc
View File
@@ -928,7 +928,7 @@ Status GeGenerator::Impl::SaveRootModel(const string &file_name_prefix, GeRootMo
GELOGE(ret, "Save to om model failed");
return ret;
}
DisplayModelInfo(*(model_root.get()));
//
DisplayModelInfo(*(model_root.get()));
return SUCCESS;
}
+ 5
- 0
ge/offline/main.cc
View File
@@ -1180,6 +1180,11 @@ domi::Status GenerateOmModel() {
return domi::FAILED;
}
if (FLAGS_display_model_info == "1") {
GELOGI("need to display model info.");
return ge::ConvertOm(FLAGS_output.c_str(), "", false);
}
return domi::SUCCESS;
}
Write
Preview
Loading…
Cancel
Save