aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/test/ElementwiseUnaryTestHelper.hpp
diff options
context:
space:
mode:
authorKeith Davis <keith.davis@arm.com>2020-11-26 17:40:35 +0000
committerKeithARM <keith.davis@arm.com>2020-11-30 16:11:50 +0000
commit892fafe510077fac11610a9081fc10de09ffbef3 (patch)
treebcb331dbf71c3507b83316dd831f6bbd73323fd8 /delegate/src/test/ElementwiseUnaryTestHelper.hpp
parent34fa1bd7994af9abf52dbcc4aa808d0fa5f14aa3 (diff)
downloadarmnn-892fafe510077fac11610a9081fc10de09ffbef3.tar.gz
IVGCVSW-5374 Provide Android Build for Delegate
* Fix Arm Android Compiler errors Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: If5fae0fda08b6102eb46217564a096f87a3b6740
Diffstat (limited to 'delegate/src/test/ElementwiseUnaryTestHelper.hpp')
-rw-r--r--delegate/src/test/ElementwiseUnaryTestHelper.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/delegate/src/test/ElementwiseUnaryTestHelper.hpp b/delegate/src/test/ElementwiseUnaryTestHelper.hpp
index 348c8abcef..2683339eb5 100644
--- a/delegate/src/test/ElementwiseUnaryTestHelper.hpp
+++ b/delegate/src/test/ElementwiseUnaryTestHelper.hpp
@@ -40,16 +40,16 @@ std::vector<char> CreateElementwiseUnaryTfLiteModel(tflite::BuiltinOperator unar
tensorType);
// create operator
- const std::vector<int> operatorInputs{{0}};
- const std::vector<int> operatorOutputs{{1}};
+ const std::vector<int> operatorInputs{0};
+ const std::vector<int> operatorOutputs{1};
flatbuffers::Offset <Operator> unaryOperator =
CreateOperator(flatBufferBuilder,
0,
flatBufferBuilder.CreateVector<int32_t>(operatorInputs.data(), operatorInputs.size()),
flatBufferBuilder.CreateVector<int32_t>(operatorOutputs.data(), operatorOutputs.size()));
- const std::vector<int> subgraphInputs{{0}};
- const std::vector<int> subgraphOutputs{{1}};
+ const std::vector<int> subgraphInputs{0};
+ const std::vector<int> subgraphOutputs{1};
flatbuffers::Offset <SubGraph> subgraph =
CreateSubGraph(flatBufferBuilder,
flatBufferBuilder.CreateVector(tensors.data(), tensors.size()),