Browse Source

display model info

pull/647/head
wangwenhua1@huawei.com 5 years ago
parent
commit
e571393a85
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ge/session/omg.cc
  2. +1
    -1
      inc/framework/omg/omg.h

+ 1
- 1
ge/session/omg.cc View File

@@ -922,7 +922,7 @@ FMK_FUNC_HOST_VISIBILITY Status DisplayModelInfo(const char *model_file) {
return ret;
}

FMK_FUNC_HOST_VISIBILITY Status GetModeldefFormFile(const char *model_file, ge::ModelData& model,
FMK_FUNC_HOST_VISIBILITY Status GetModeldefFormFile(const char *model_file, ge::ModelData &model,
ge::proto::ModelDef *model_def) {
GE_CHECK_NOTNULL(model_file);



+ 1
- 1
inc/framework/omg/omg.h View File

@@ -105,7 +105,7 @@ void UpdateOmgCtxWithParserCtx();

void UpdateParserCtxWithOmgCtx();

Status GetModeldefFormFile(const char *model_file, ge::ModelData& model, ge::proto::ModelDef *model_def);
Status GetModeldefFormFile(const char *model_file, ge::ModelData &model, ge::proto::ModelDef *model_def);

Status DisplayModelInfo(const char *model_file);



Loading…
Cancel
Save