Browse Source

!1048 add ut

From: @lichun30
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @wqtshg
tags/v1.2.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
0fcdd69e23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/ut/ge/graph/load/davinci_model_unittest.cc

+ 2
- 2
tests/ut/ge/graph/load/davinci_model_unittest.cc View File

@@ -34,7 +34,7 @@ class UtestDavinciModel : public testing::Test {
void TearDown() {}
};

/*TEST_F(UtestDavinciModel, init_success) {
TEST_F(UtestDavinciModel, init_success) {
DavinciModel model(0, nullptr);
ComputeGraphPtr graph = make_shared<ComputeGraph>("default");
ProfilingManager::Instance().is_load_profiling_ = true;
@@ -118,7 +118,7 @@ class UtestDavinciModel : public testing::Test {
EXPECT_EQ(outputs.size(), 1);

ProfilingManager::Instance().is_load_profiling_ = false;
}*/
}

TEST_F(UtestDavinciModel, init_data_op) {
DavinciModel model(0, nullptr);


Loading…
Cancel
Save