Browse Source

Add unit test for no NetOutput

tags/v1.2.0
zhangxiaokun 3 years ago
parent
commit
75bcf24692
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/ge/graph/load/davinci_model_unittest.cc

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

@@ -345,7 +345,7 @@ TEST_F(UtestDavinciModel, Init_variable_op) {

EXPECT_EQ(model.InitNodes(graph), SUCCESS);

EXPECT_EQ(model.ReturnNoOutput(1), PARAM_INVALID);
EXPECT_EQ(model.ReturnNoOutput(1), SUCCESS);
EXPECT_EQ(model.SyncVarData(), SUCCESS);

OutputData output_data;


Loading…
Cancel
Save