Browse Source

fix opensource

pull/377/head
zhao-lupeng 4 years ago
parent
commit
50edd7aa2f
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_parser_unittest.cc

+ 1
- 3
tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_parser_unittest.cc View File

@@ -118,9 +118,7 @@ TEST_F(UtestTensorflowParser, tensorflow_parser_with_serialized_proto3) {
auto arg_node = graph_def.add_node();
arg_node->set_name("noop");
arg_node->set_op("NoOp");
ge::TensorFlowModelParser modelparser;
modelparser.nodedef_map_ = {0};

ge::graphStatus ret = model_parser->ParseProtoWithSubgraph(graph_def.SerializeAsString(),
[](std::string)->std::string{ return "";}, compute_graph);
EXPECT_EQ(ret, ge::SUCCESS);


Loading…
Cancel
Save