Refactor soft backend (#1305)
authorEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Wed, 5 Sep 2018 12:58:26 +0000 (15:58 +0300)
committerРоман Михайлович Русяев/AI Tools Lab /SRR/Staff Engineer/삼성전자 <r.rusyaev@samsung.com>
Wed, 5 Sep 2018 12:58:26 +0000 (15:58 +0300)
commitb4f1e9c8c762664ddf04be6eb8329b5098102b62
treef560dac62dd447d83d9720e021cb697047a8bc5c
parentd378edf8136c5d0f41e25636f4439a539fe9ca67
Refactor soft backend (#1305)

Remove redundant soft backend classes
Move all C++ code snippets to code_snippet directory
Generate headers from snippets to generated directory

Signed-off-by: Efimov Alexander <a.efimov@samsung.com>
29 files changed:
contrib/nnc/cmake/soft_backend.cmake
contrib/nnc/plugin/soft_backend/CMakeLists.txt
contrib/nnc/plugin/soft_backend/base_generator.cpp
contrib/nnc/plugin/soft_backend/base_generator.h
contrib/nnc/plugin/soft_backend/c_backend.cpp [deleted file]
contrib/nnc/plugin/soft_backend/c_generator.cpp
contrib/nnc/plugin/soft_backend/code_snippets/cpp_add_bias.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_add_bias.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_capped_relu.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_capped_relu.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_common_funcs.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_common_funcs.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_concat.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_concat.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_conv.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_conv.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_depthwise_conv.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_depthwise_conv.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_fully_connected.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_fully_connected.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_header_types.def [moved from contrib/nnc/plugin/soft_backend/cpp_header_types.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_operations.def [moved from contrib/nnc/plugin/soft_backend/cpp_operations.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_pool.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_pool.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_relu.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_relu.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/cpp_softmax.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/cpp_softmax.def with 100% similarity]
contrib/nnc/plugin/soft_backend/code_snippets/eigen.def [moved from contrib/nnc/plugin/soft_backend/cpp_ops/eigen.def with 100% similarity]
contrib/nnc/plugin/soft_backend/cpp_backend.cpp [deleted file]
contrib/nnc/plugin/soft_backend/cpp_generator.cpp
contrib/nnc/plugin/soft_backend/soft_backend.cpp [deleted file]
contrib/nnc/plugin/soft_backend/soft_backend.h [deleted file]
contrib/nnc/tests/soft_backend/compile_cpp.cpp
contrib/nnc/unittests/soft_backend/CMakeLists.txt
contrib/nnc/unittests/soft_backend/cpp_header_types.cpp
contrib/nnc/unittests/soft_backend/cpp_operations.cpp
contrib/nnc/unittests/soft_backend/generator.cpp
contrib/nnc/utils/def2src.cpp