[neurun] Move backend interfaces to interface dir (#3041)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 10 Oct 2018 05:28:55 +0000 (14:28 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 10 Oct 2018 05:28:55 +0000 (14:28 +0900)
Move backend interfaces to interface dir.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
26 files changed:
runtimes/neurun/src/backend/acl_cl/BackendConfig.h
runtimes/neurun/src/backend/acl_cl/InitializerGenerator.h
runtimes/neurun/src/backend/acl_cl/StageGenerator.h
runtimes/neurun/src/backend/acl_cl/TensorBuilder.h
runtimes/neurun/src/backend/acl_cl/operand/Object.h
runtimes/neurun/src/backend/cpu/BackendConfig.h
runtimes/neurun/src/backend/cpu/InitializerGenerator.h
runtimes/neurun/src/backend/cpu/StageGenerator.cc
runtimes/neurun/src/backend/cpu/StageGenerator.h
runtimes/neurun/src/backend/cpu/TensorBuilder.h
runtimes/neurun/src/backend/cpu/operand/Object.h
runtimes/neurun/src/backend/interface/IBackendConfig.h [moved from runtimes/neurun/src/backend/IBackendConfig.h with 100% similarity]
runtimes/neurun/src/backend/interface/IInitializerGenerator.h [moved from runtimes/neurun/src/backend/IInitializerGenerator.h with 100% similarity]
runtimes/neurun/src/backend/interface/IStageGenerator.h [moved from runtimes/neurun/src/backend/IStageGenerator.h with 98% similarity]
runtimes/neurun/src/backend/interface/ITensorBuilder.h [moved from runtimes/neurun/src/backend/ITensorBuilder.h with 98% similarity]
runtimes/neurun/src/backend/interface/operand/IObject.h [moved from runtimes/neurun/src/backend/IObject.h with 100% similarity]
runtimes/neurun/src/codegen/BackendResolver.h
runtimes/neurun/src/codegen/IPlanBuilder.h
runtimes/neurun/src/codegen/PlanBuilder.cc
runtimes/neurun/src/codegen/PlanBuilder.h
runtimes/neurun/src/codegen/operand/Context.h
runtimes/neurun/src/dumper/dot/DotNodeInfo.cc
runtimes/neurun/src/graph/Graph.cc
runtimes/neurun/src/graph/pass/PermutationInsertionPass.cc
runtimes/neurun/src/linear/Linear.cc
runtimes/neurun/src/linear/Linear.h

index 9372c33..87ba214 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_ACL_CL_BACKEND_CONFIG_H__
 #define __NEURUN_BACKEND_ACL_CL_BACKEND_CONFIG_H__
 
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 
 namespace neurun
 {
index 78b7efb..3171498 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_ACL_CL_INITIALIZER_GENERATOR_H__
 #define __NEURUN_BACKEND_ACL_CL_INITIALIZER_GENERATOR_H__
 
-#include "backend/IInitializerGenerator.h"
+#include "backend/interface/IInitializerGenerator.h"
 
 #include "graph/operand/Set.h"
 
index 6112166..11b900d 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_ACL_CL_STAGE_GENERATOR_H__
 #define __NEURUN_BACKEND_ACL_CL_STAGE_GENERATOR_H__
 
-#include "backend/IStageGenerator.h"
+#include "backend/interface/IStageGenerator.h"
 
 #include "graph/operand/Set.h"
 #include "backend/acl_cl/TensorBuilder.h"
index 1655b3d..78a985a 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_ACL_CL_TENSOR_BUILDER_H__
 #define __NEURUN_BACKEND_ACL_CL_TENSOR_BUILDER_H__
 
-#include "backend/ITensorBuilder.h"
+#include "backend/interface/ITensorBuilder.h"
 
 #include <unordered_map>
 
index da33c05..4a4c384 100644 (file)
@@ -20,7 +20,7 @@
 #include <memory>
 #include <arm_compute/core/CL/ICLTensor.h>
 
-#include "backend/IObject.h"
+#include "backend/interface/operand/IObject.h"
 
 namespace neurun
 {
index c5693db..5d2c36e 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_CPU_BACKEND_CONFIG_H__
 #define __NEURUN_BACKEND_CPU_BACKEND_CONFIG_H__
 
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 
 namespace neurun
 {
index 42d37f4..d04212d 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_CPU_INITIALIZER_GENERATOR_H__
 #define __NEURUN_BACKEND_CPU_INITIALIZER_GENERATOR_H__
 
-#include "backend/IInitializerGenerator.h"
+#include "backend/interface/IInitializerGenerator.h"
 
 #include "graph/operand/Set.h"
 
index 2e9bbde..40c4c9c 100644 (file)
@@ -30,7 +30,7 @@
 #include "kernel/cpu/SoftMaxLayer.h"
 #include "kernel/cpu/PermuteLayer.h"
 #include "backend/BackendManager.h"
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 
 #include "logging.h"
 
index f886ecf..8aa62b8 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_BACKEND_CPU_STAGE_GENERATOR_H__
 #define __NEURUN_BACKEND_CPU_STAGE_GENERATOR_H__
 
-#include "backend/IStageGenerator.h"
+#include "backend/interface/IStageGenerator.h"
 
 #include "graph/operand/Set.h"
 #include "backend/cpu/operand/Tensor.h"
index 709e54c..cd4d25f 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <unordered_map>
 
-#include "backend/ITensorBuilder.h"
+#include "backend/interface/ITensorBuilder.h"
 #include "backend/cpu/operand/Tensor.h"
 #include "graph/operand/Index.h"
 
index 08f63f3..a2af9b1 100644 (file)
@@ -20,7 +20,7 @@
 #include <memory>
 #include <arm_compute/core/ITensor.h>
 
-#include "backend/IObject.h"
+#include "backend/interface/operand/IObject.h"
 
 namespace neurun
 {
@@ -22,7 +22,7 @@
 
 #include <arm_compute/runtime/IFunction.h>
 
-#include "backend/ITensorBuilder.h"
+#include "backend/interface/ITensorBuilder.h"
 #include "graph/operation/Conv2D.h"
 #include "graph/operation/MaxPool2D.h"
 #include "graph/operation/AvgPool2D.h"
@@ -21,7 +21,7 @@
 #include <arm_compute/core/TensorInfo.h>
 
 #include "graph/operand/Index.h"
-#include "IObject.h"
+#include "operand/IObject.h"
 
 namespace neurun
 {
index 0d628af..9037ee9 100644 (file)
@@ -24,8 +24,8 @@
 #include "logging.h"
 #include "util/EnvVar.h"
 #include "backend/BackendManager.h"
-#include "backend/IInitializerGenerator.h"
-#include "backend/IStageGenerator.h"
+#include "backend/interface/IInitializerGenerator.h"
+#include "backend/interface/IStageGenerator.h"
 
 namespace neurun
 {
index 1976814..0ef78cd 100644 (file)
@@ -18,8 +18,8 @@
 #define __NEURUN_CODEGEN_I_PLAN_BUILDER_H__
 
 #include "arm_compute/core/TensorInfo.h"
-#include "backend/IStageGenerator.h"
-#include "backend/IInitializerGenerator.h"
+#include "backend/interface/IStageGenerator.h"
+#include "backend/interface/IInitializerGenerator.h"
 
 namespace neurun
 {
index 91bf2b5..22232eb 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "PlanBuilder.h"
 
-#include "backend/IObject.h"
+#include "backend/interface/operand/IObject.h"
 
 namespace neurun
 {
index 4323143..18ffedc 100644 (file)
@@ -19,8 +19,8 @@
 
 #include "IPlanBuilder.h"
 #include "codegen/Plan.h"
-#include "backend/IStageGenerator.h"
-#include "backend/ITensorBuilder.h"
+#include "backend/interface/IStageGenerator.h"
+#include "backend/interface/ITensorBuilder.h"
 
 namespace neurun
 {
index 92f1f2b..b1000a8 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __NEURUN_CODEGEN_OPERAND_CONTEXT_H__
 #define __NEURUN_CODEGEN_OPERAND_CONTEXT_H__
 
-#include "backend/IObject.h"
+#include "backend/interface/operand/IObject.h"
 #include "graph/operand/Index.h"
 
 #include <map>
index 1ee95cf..f39321e 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "DotNodeInfo.h"
 #include "graph/operation/LowerInfo.h"
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 
 namespace neurun
 {
index 1e939b8..fd9f3ae 100644 (file)
@@ -27,7 +27,7 @@
 #include "operand/LowerInfo.h"
 #include "operand/Shape4DConvert.h"
 #include "codegen/BackendResolver.h"
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 #include "operation/Permute.h"
 #include "pass/PermutationInsertionPass.h"
 
index 703072d..dc8e067 100644 (file)
@@ -23,7 +23,7 @@
 #include "graph/operand/Object.h"
 #include "graph/operation/LowerInfo.h"
 #include "graph/Graph.h"
-#include "backend/IBackendConfig.h"
+#include "backend/interface/IBackendConfig.h"
 #include "logging.h"
 
 namespace neurun
index 8d6968f..2d0a54f 100644 (file)
@@ -19,7 +19,7 @@
 #include "graph/Graph.h"
 
 #include "graph/operation/LowerInfo.h"
-#include "backend/IStageGenerator.h"
+#include "backend/interface/IStageGenerator.h"
 #include "internal/Convert.h"
 
 namespace neurun
index 90be6b8..46815e4 100644 (file)
@@ -20,7 +20,7 @@
 #include <vector>
 
 #include "graph/operation/Node.h"
-#include "backend/ITensorBuilder.h"
+#include "backend/interface/ITensorBuilder.h"
 
 namespace neurun
 {