Browse Source

clear codecheck

pull/690/head
w00509165 3 years ago
parent
commit
4691fabbe8
17 changed files with 16 additions and 18 deletions
  1. +1
    -1
      parser/common/CMakeLists.txt
  2. +1
    -1
      parser/common/acl_graph_parser_util.cc
  3. +1
    -1
      parser/common/module.mk
  4. +1
    -1
      parser/common/op_registration_tbe.cc
  5. +0
    -0
      parser/common/op_registration_tbe.h
  6. +1
    -1
      parser/common/parser_api.cc
  7. +1
    -1
      parser/common/parser_factory.cc
  8. +1
    -1
      tests/st/CMakeLists.txt
  9. +1
    -1
      tests/st/testcase/test_caffe_parser.cc
  10. +1
    -1
      tests/st/testcase/test_onnx_parser.cc
  11. +1
    -2
      tests/st/testcase/test_tensorflow_parser.cc
  12. +1
    -1
      tests/ut/parser/CMakeLists.txt
  13. +1
    -1
      tests/ut/parser/testcase/caffe_parser_testcase/caffe_parser_unittest.cc
  14. +1
    -1
      tests/ut/parser/testcase/common/acl_graph_parser_unittest.cc
  15. +1
    -1
      tests/ut/parser/testcase/onnx_parser_testcase/onnx_parser_unittest.cc
  16. +1
    -1
      tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_auto_mapping_parser_adapter_unittest.cc
  17. +1
    -2
      tests/ut/parser/testcase/tensorflow_parser_testcase/tensorflow_parser_unittest.cc

+ 1
- 1
parser/common/CMakeLists.txt View File

@@ -3,7 +3,7 @@ set(SRC_LIST
"data_op_parser.cc"
"op_parser_factory.cc"
"pre_checker.cc"
"register_tbe.cc"
"op_registration_tbe.cc"
"parser_api.cc"
"parser_inner_ctx.cc"
"proto_file_parser.cc"


+ 1
- 1
parser/common/acl_graph_parser_util.cc View File

@@ -37,7 +37,7 @@
#include "graph/opsproto_manager.h"
#include "graph/utils/type_utils.h"
#include "omg/parser/parser_inner_ctx.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "tbe_plugin_loader.h"
#include "mmpa/mmpa_api.h"



+ 1
- 1
parser/common/module.mk View File

@@ -15,7 +15,7 @@ COMMON_LOCAL_SRC_FILES := \
data_op_parser.cc \
op_parser_factory.cc \
pre_checker.cc \
register_tbe.cc \
op_registration_tbe.cc \
parser_api.cc \
parser_inner_ctx.cc \
proto_file_parser.cc \


parser/common/register_tbe.cc → parser/common/op_registration_tbe.cc View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include <map>
#include <memory>
#include <string>

parser/common/register_tbe.h → parser/common/op_registration_tbe.h View File


+ 1
- 1
parser/common/parser_api.cc View File

@@ -19,7 +19,7 @@
#include "common/util.h"
#include "tbe_plugin_loader.h"
#include "framework/common/debug/ge_log.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "framework/omg/parser/parser_inner_ctx.h"
#include "external/ge/ge_api_types.h"



+ 1
- 1
parser/common/parser_factory.cc View File

@@ -16,7 +16,7 @@

#include "omg/parser/parser_factory.h"
#include "framework/common/debug/ge_log.h"
#include "common/register_tbe.h"
#include "common/op_registration_tbe.h"

namespace domi {
FMK_FUNC_HOST_VISIBILITY WeightsParserFactory *WeightsParserFactory::Instance() {


+ 1
- 1
tests/st/CMakeLists.txt View File

@@ -274,7 +274,7 @@ set(PARSER_SRC_FILES
"${PARSER_DIR}/parser/common/pre_checker.cc"
"${PARSER_DIR}/parser/common/proto_file_parser.cc"
"${PARSER_DIR}/parser/common/prototype_pass_manager.cc"
"${PARSER_DIR}/parser/common/register_tbe.cc"
"${PARSER_DIR}/parser/common/op_registration_tbe.cc"
"${PARSER_DIR}/parser/common/tbe_plugin_loader.cc"
"${PARSER_DIR}/parser/common/thread_pool.cc"
"${PARSER_DIR}/parser/common/auto_mapping_subgraph_io_index_func.cc"


+ 1
- 1
tests/st/testcase/test_caffe_parser.cc View File

@@ -21,7 +21,7 @@
#include "parser/common/op_parser_factory.h"
#include "graph/operator_reg.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "framework/omg/parser/model_parser.h"
#include "framework/omg/parser/parser_factory.h"
#include "external/parser/caffe_parser.h"


+ 1
- 1
tests/st/testcase/test_onnx_parser.cc View File

@@ -19,7 +19,7 @@
#include "parser/common/op_parser_factory.h"
#include "graph/operator_reg.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "external/parser/onnx_parser.h"
#include "st/parser_st_utils.h"
#include "external/ge/ge_api_types.h"


+ 1
- 2
tests/st/testcase/test_tensorflow_parser.cc View File

@@ -23,7 +23,6 @@
#include "graph/operator_reg.h"
#include "register/op_registry.h"
#include "external/register/register.h"
#include "parser/common/register_tbe.h"
#include "st/parser_st_utils.h"
#include "tests/depends/ops_stub/ops_stub.h"
#include "parser/common/acl_graph_parser_util.h"
@@ -68,7 +67,7 @@
#include "parser/common/parser_fp16_t.h"
#include "parser/common/op_parser_factory.h"
#include "parser/common/prototype_pass_manager.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "parser/common/pass_manager.h"
#include "parser/tensorflow/parser_graph_optimizer.h"
#include "metadef/inc/register/scope/scope_pass_registry_impl.h"


+ 1
- 1
tests/ut/parser/CMakeLists.txt View File

@@ -275,7 +275,7 @@ set(PARSER_SRC_FILES
"${PARSER_DIR}/parser/common/pre_checker.cc"
"${PARSER_DIR}/parser/common/proto_file_parser.cc"
"${PARSER_DIR}/parser/common/prototype_pass_manager.cc"
"${PARSER_DIR}/parser/common/register_tbe.cc"
"${PARSER_DIR}/parser/common/op_registration_tbe.cc"
"${PARSER_DIR}/parser/common/tbe_plugin_loader.cc"
"${PARSER_DIR}/parser/common/thread_pool.cc"
"${PARSER_DIR}/parser/common/auto_mapping_subgraph_io_index_func.cc"


+ 1
- 1
tests/ut/parser/testcase/caffe_parser_testcase/caffe_parser_unittest.cc View File

@@ -23,7 +23,7 @@
#include "graph/operator_reg.h"
#include "external/graph/types.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "framework/omg/parser/model_parser.h"
#include "framework/omg/parser/parser_factory.h"
#include "external/parser/caffe_parser.h"


+ 1
- 1
tests/ut/parser/testcase/common/acl_graph_parser_unittest.cc View File

@@ -23,7 +23,7 @@
#include "graph/operator_reg.h"
#include "external/graph/types.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "external/parser/onnx_parser.h"
#include "ut/parser/parser_ut_utils.h"
#include "external/ge/ge_api_types.h"


+ 1
- 1
tests/ut/parser/testcase/onnx_parser_testcase/onnx_parser_unittest.cc View File

@@ -20,7 +20,7 @@
#include "graph/operator_reg.h"
#include "external/graph/types.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "external/parser/onnx_parser.h"
#include "ut/parser/parser_ut_utils.h"
#include "external/ge/ge_api_types.h"


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

@@ -22,7 +22,7 @@
#include "graph/operator_reg.h"
#include "external/graph/types.h"
#include "register/op_registry.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"


namespace ge {


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

@@ -25,7 +25,6 @@
#include "external/graph/types.h"
#include "register/op_registry.h"
#include "external/register/register.h"
#include "parser/common/register_tbe.h"
#include "tests/depends/ops_stub/ops_stub.h"
#include "parser/common/acl_graph_parser_util.h"
#include "metadef/third_party/graphengine/inc/external/ge/ge_api_types.h"
@@ -71,7 +70,7 @@
#include "parser/common/parser_fp16_t.h"
#include "parser/common/op_parser_factory.h"
#include "parser/common/prototype_pass_manager.h"
#include "parser/common/register_tbe.h"
#include "parser/common/op_registration_tbe.h"
#include "parser/common/pass_manager.h"
#include "parser/tensorflow/parser_graph_optimizer.h"
#include "metadef/inc/register/scope/scope_pass_registry_impl.h"


Loading…
Cancel
Save