[neurun] Remove remain common tensor codes (#2528)
author김수진/동작제어Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Thu, 30 Aug 2018 08:12:57 +0000 (17:12 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 30 Aug 2018 08:12:57 +0000 (17:12 +0900)
This commit removes remain common tensor codes.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
runtimes/neurun/src/backend/acl_cl/StageGenerator.cc
runtimes/neurun/src/backend/cpu/StageGenerator.cc
runtimes/neurun/src/codegen/Plan.h

index 1471674..76f7498 100644 (file)
@@ -8,8 +8,6 @@
 #include <arm_compute/runtime/CL/functions/CLSoftmaxLayer.h>
 
 #include "kernel/acl_cl/ConcatLayer.h"
-#include "kernel/acl_cl/TensorConvertFromCommonLayer.h"
-#include "kernel/acl_cl/TensorConvertToCommonLayer.h"
 
 #include "internal/Padding.h"
 
index 5d30c39..2f190ab 100644 (file)
@@ -11,8 +11,6 @@
 #include "kernel/cpu/FullyConnectedLayer.h"
 #include "kernel/cpu/ReshapeLayer.h"
 #include "kernel/cpu/SoftMaxLayer.h"
-#include "kernel/cpu/TensorConvertFromCommonLayer.h"
-#include "kernel/cpu/TensorConvertToCommonLayer.h"
 
 #include "logging.h"
 
index 03cbd06..d0f12bf 100644 (file)
@@ -27,17 +27,12 @@ public:
   const operand::Context &operands(void) const { return _operands; }
 
 public:
-  operand::Context &common_operands(void) { return _common_operands; }
-  const operand::Context &common_operands(void) const { return _common_operands; }
-
-public:
   operation::Sequence &operations(void) { return _ops; }
   const operation::Sequence &operations(void) const { return _ops; }
 
 private:
   std::shared_ptr<neurun::graph::Graph> _model;
   operand::Context _operands;
-  operand::Context _common_operands;
   operation::Sequence _ops;
 };