Browse Source

ut

pull/376/head
CLAY-panjw 4 years ago
parent
commit
ed63d73df2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_parser_unittest.cc

+ 2
- 0
tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_parser_unittest.cc View File

@@ -118,6 +118,8 @@ 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);


Loading…
Cancel
Save