From d7166de5a4c8a00246ea75d3860d30a6c7b6b460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=A1=82=E5=86=9B?= Date: Wed, 29 Jun 2022 00:50:25 +0800 Subject: [PATCH] add file constant parser st --- .../origin_models/file_constant_input.bin | Bin 0 -> 48 bytes .../origin_models/onnx_file_const_type.onnx | 23 ++++++++++++++++++ tests/st/testcase/test_onnx_parser.cc | 18 ++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 tests/st/testcase/origin_models/file_constant_input.bin create mode 100644 tests/st/testcase/origin_models/onnx_file_const_type.onnx diff --git a/tests/st/testcase/origin_models/file_constant_input.bin b/tests/st/testcase/origin_models/file_constant_input.bin new file mode 100644 index 0000000000000000000000000000000000000000..7e619c9c269f0c4b725432b6197a0ffad9b56b53 GIT binary patch literal 48 bcmZQzU|?VbVkRJF24WT parser_params; + ge::Graph graph; + auto ret = ge::aclgrphParseONNX(model_file.c_str(), parser_params, graph); + EXPECT_EQ(ret, GRAPH_SUCCESS); +} + } // namespace ge