Move tools/nnapi_bindings/* to src/ (#947)
author서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Fri, 27 Apr 2018 07:20:38 +0000 (16:20 +0900)
committer최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Fri, 27 Apr 2018 07:20:38 +0000 (16:20 +0900)
For #831

This commit moves tools/nnapi_bindings/* to src/.  The header `nnapi.h`
in tools/nnapi_bindings/include is also moved to the top-level include
directory.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
58 files changed:
include/nnapi.h [moved from tools/nnapi_bindings/include/nnapi.h with 100% similarity]
src/CMakeLists.txt
src/logging/CMakeLists.txt [moved from tools/nnapi_bindings/bindings/logging/CMakeLists.txt with 100% similarity]
src/logging/include/operand.def [moved from tools/nnapi_bindings/bindings/logging/include/operand.def with 100% similarity]
src/logging/include/operation.def [moved from tools/nnapi_bindings/bindings/logging/include/operation.def with 100% similarity]
src/logging/src/nnapi_logging.cc [moved from tools/nnapi_bindings/bindings/logging/src/nnapi_logging.cc with 100% similarity]
src/pure_arm_compute/CMakeLists.txt [moved from tools/nnapi_bindings/bindings/pure_arm_compute/CMakeLists.txt with 100% similarity]
src/pure_arm_compute/src/compilation.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/compilation.cc with 100% similarity]
src/pure_arm_compute/src/compilation.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/compilation.h with 100% similarity]
src/pure_arm_compute/src/event.cc [moved from tools/nnapi_bindings/bindings/template/src/event.cc with 100% similarity]
src/pure_arm_compute/src/event.h [moved from tools/nnapi_bindings/bindings/template/src/event.h with 100% similarity]
src/pure_arm_compute/src/execution.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/execution.cc with 100% similarity]
src/pure_arm_compute/src/execution.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/execution.h with 100% similarity]
src/pure_arm_compute/src/internal/Model.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/Model.cc with 100% similarity]
src/pure_arm_compute/src/internal/Model.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/Model.h with 100% similarity]
src/pure_arm_compute/src/internal/arm_compute.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/arm_compute.cc with 100% similarity]
src/pure_arm_compute/src/internal/arm_compute.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/arm_compute.h with 100% similarity]
src/pure_arm_compute/src/internal/arm_compute/feature/View.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/arm_compute/feature/View.h with 100% similarity]
src/pure_arm_compute/src/internal/arm_compute/kernel/View.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/arm_compute/kernel/View.h with 100% similarity]
src/pure_arm_compute/src/internal/nnapi/feature/Reader.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/nnapi/feature/Reader.h with 100% similarity]
src/pure_arm_compute/src/internal/nnapi/feature/Utils.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/nnapi/feature/Utils.h with 100% similarity]
src/pure_arm_compute/src/internal/nnapi/feature/View.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/nnapi/feature/View.h with 100% similarity]
src/pure_arm_compute/src/internal/nnapi/kernel/Reader.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/nnapi/kernel/Reader.h with 100% similarity]
src/pure_arm_compute/src/internal/op/AvgPool2D.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/AvgPool2D.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/AvgPool2D.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/AvgPool2D.h with 100% similarity]
src/pure_arm_compute/src/internal/op/Concat.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Concat.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/Concat.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Concat.h with 100% similarity]
src/pure_arm_compute/src/internal/op/Conv2D.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Conv2D.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/Conv2D.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Conv2D.h with 100% similarity]
src/pure_arm_compute/src/internal/op/FullyConnected.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/FullyConnected.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/FullyConnected.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/FullyConnected.h with 100% similarity]
src/pure_arm_compute/src/internal/op/MaxPool2D.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/MaxPool2D.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/MaxPool2D.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/MaxPool2D.h with 100% similarity]
src/pure_arm_compute/src/internal/op/Node.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Node.h with 100% similarity]
src/pure_arm_compute/src/internal/op/NodeVisitor.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/NodeVisitor.h with 100% similarity]
src/pure_arm_compute/src/internal/op/Reshape.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Reshape.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/Reshape.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Reshape.h with 100% similarity]
src/pure_arm_compute/src/internal/op/Softmax.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Softmax.cc with 100% similarity]
src/pure_arm_compute/src/internal/op/Softmax.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/op/Softmax.h with 100% similarity]
src/pure_arm_compute/src/logging.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/logging.h with 100% similarity]
src/pure_arm_compute/src/memory.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/memory.cc with 100% similarity]
src/pure_arm_compute/src/memory.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/memory.h with 100% similarity]
src/pure_arm_compute/src/model.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/model.cc with 100% similarity]
src/pure_arm_compute/src/model.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/model.h with 100% similarity]
src/template/CMakeLists.txt [moved from tools/nnapi_bindings/bindings/template/CMakeLists.txt with 100% similarity]
src/template/src/compilation.cc [moved from tools/nnapi_bindings/bindings/template/src/compilation.cc with 100% similarity]
src/template/src/compilation.h [moved from tools/nnapi_bindings/bindings/template/src/compilation.h with 100% similarity]
src/template/src/event.cc [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/event.cc with 100% similarity]
src/template/src/event.h [moved from tools/nnapi_bindings/bindings/pure_arm_compute/src/event.h with 100% similarity]
src/template/src/execution.cc [moved from tools/nnapi_bindings/bindings/template/src/execution.cc with 100% similarity]
src/template/src/execution.h [moved from tools/nnapi_bindings/bindings/template/src/execution.h with 100% similarity]
src/template/src/memory.cc [moved from tools/nnapi_bindings/bindings/template/src/memory.cc with 100% similarity]
src/template/src/memory.h [moved from tools/nnapi_bindings/bindings/template/src/memory.h with 100% similarity]
src/template/src/model.cc [moved from tools/nnapi_bindings/bindings/template/src/model.cc with 100% similarity]
src/template/src/model.h [moved from tools/nnapi_bindings/bindings/template/src/model.h with 100% similarity]
tools/CMakeLists.txt
tools/nnapi_bindings/CMakeLists.txt [deleted file]
tools/nnapi_bindings/bindings/CMakeLists.txt [deleted file]

index 20c2e63..efdae9c 100644 (file)
@@ -1,3 +1,8 @@
 if(BUILD_NN_RUNTIME)
   add_subdirectory(runtime)
 endif(BUILD_NN_RUNTIME)
+
+set(NNAPI_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
+add_subdirectory(template)
+add_subdirectory(logging)
+add_subdirectory(pure_arm_compute)
index 6a8ee65..adb8b99 100644 (file)
@@ -1,6 +1,5 @@
 add_subdirectory(tflite_run)
 add_subdirectory(tflite_benchmark)
 add_subdirectory(tflite_examples)
-add_subdirectory(nnapi_bindings)
 add_subdirectory(nnapi_test)
 add_subdirectory(nnapi_unittests)
diff --git a/tools/nnapi_bindings/CMakeLists.txt b/tools/nnapi_bindings/CMakeLists.txt
deleted file mode 100644 (file)
index 547d50e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-set(NNAPI_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
-
-add_subdirectory(bindings)
diff --git a/tools/nnapi_bindings/bindings/CMakeLists.txt b/tools/nnapi_bindings/bindings/CMakeLists.txt
deleted file mode 100644 (file)
index a19e454..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-add_subdirectory(template)
-add_subdirectory(logging)
-add_subdirectory(pure_arm_compute)