Browse Source

display model info

pull/769/head
wangwenhua1@huawei.com 4 years ago
parent
commit
87a6726b2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/offline/main.cc

+ 1
- 1
ge/offline/main.cc View File

@@ -844,7 +844,7 @@ domi::Status GenerateInfershapeJson() {
static Status ConvertModelToJson(int fwk_type, const string &model_file, const string &json_file) {
Status ret = ge::SUCCESS;
if (fwk_type == -1) {
ret = ge::ConvertOmModelToJson(model_file.c_str(), json_file.c_str());
ret = ge::ConvertOm(model_file.c_str(), json_file.c_str(), true);
return ret;
}



Loading…
Cancel
Save