From 2c45a5a33bba1b1d0085d9d0af22f4614a1d3309 Mon Sep 17 00:00:00 2001 From: wjm Date: Wed, 24 Feb 2021 20:15:18 +0800 Subject: [PATCH] fix ut --- ge/common/helper/model_helper.cc | 4 ++-- ge/init/gelib.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ge/common/helper/model_helper.cc b/ge/common/helper/model_helper.cc index 3f256ed9..bc4205f8 100644 --- a/ge/common/helper/model_helper.cc +++ b/ge/common/helper/model_helper.cc @@ -875,7 +875,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ModelHelper::GetModelNam return SUCCESS; } -FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ModelTool::GetModelInfoFromOm(const char *model_file, +/*FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ModelTool::GetModelInfoFromOm(const char *model_file, ge::proto::ModelDef &model_def, uint32_t &modeldef_size) { GE_CHECK_NOTNULL(model_file); @@ -968,5 +968,5 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ModelTool::GetModelInfoF GELOGE(FAILED, "ParseFromString failed. exception message : %s", e.what()); return FAILED; } -} +}*/ } // namespace ge diff --git a/ge/init/gelib.cc b/ge/init/gelib.cc index a0014018..1463f25e 100644 --- a/ge/init/gelib.cc +++ b/ge/init/gelib.cc @@ -533,7 +533,7 @@ void GELib::RollbackInit() { VarManagerPool::Instance().Destory(); } -Status GEInit::Initialize(const map &options) { +/*Status GEInit::Initialize(const map &options) { Status ret = SUCCESS; std::shared_ptr instance_ptr = ge::GELib::GetInstance(); if (instance_ptr == nullptr || !instance_ptr->InitFlag()) { @@ -548,5 +548,5 @@ Status GEInit::Finalize() { string GEInit::GetPath() { return GELib::GetPath(); -} +}*/ } // namespace ge