Browse Source

fix error code and add complex128 support

tags/v1.5.1
lichun 3 years ago
parent
commit
eee6bc92d1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/ut/ge/graph_ir/ge_ir_build_unittest.cc

+ 2
- 2
tests/ut/ge/graph_ir/ge_ir_build_unittest.cc View File

@@ -367,7 +367,7 @@ TEST(UtestIrBuild, check_data_op_attr_index_valid) {
};
ModelBufferData model;
graphStatus ret = aclgrphBuildModel(graph, build_options, model);
EXPECT_EQ(ret, GE_GENERATOR_GRAPH_MANAGER_BUILD_GRAPH_FAILED);
EXPECT_EQ(ret, ge::FAILED);
}

// set attr index invalid, when not set input shape range
@@ -377,7 +377,7 @@ TEST(UtestIrBuild, check_data_attr_index_succ_no_input_range) {
const map<string, string> build_options;
ModelBufferData model;
graphStatus ret = aclgrphBuildModel(graph, build_options, model);
EXPECT_EQ(ret, GE_GENERATOR_GRAPH_MANAGER_BUILD_GRAPH_FAILED);
EXPECT_EQ(ret, ge::FAILED);
}

TEST(UtestIrBuild, check_modify_mixlist_param) {


Loading…
Cancel
Save