[Pure ACL] Fix build break (#556)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 11 Apr 2018 03:57:38 +0000 (12:57 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Wed, 11 Apr 2018 03:57:38 +0000 (12:57 +0900)
This commit removes inputs/outputs field from Plan class (as it now has
a reference to Model class which has inputs/outputs) to fix build break.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
tools/nnapi_bindings/bindings/pure_arm_compute/src/compilation.cc
tools/nnapi_bindings/bindings/pure_arm_compute/src/internal/arm_compute.h

index 9a6ecd2..d046f8b 100644 (file)
@@ -18,9 +18,5 @@ ANeuralNetworksCompilation_create(ANeuralNetworksModel* model, ANeuralNetworksCo
 ResultCode
 ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation)
 {
-  // Set 'inputs' and 'outputs'
-  compilation->output().inputs = compilation->model().inputs;
-  compilation->output().outputs = compilation->model().outputs;
-
   return ANEURALNETWORKS_NO_ERROR;
 }
index 24837a6..407d99c 100644 (file)
@@ -124,11 +124,6 @@ private:
   std::shared_ptr<const ::internal::tflite::Model> _model;
   operand::Context _operands;
   op::Sequence _ops;
-
-public:
-  // TODO Hide these fields
-  std::vector<tflite::operand::Index> inputs;
-  std::vector<tflite::operand::Index> outputs;
 };
 
 } // namepsace arm_compute