diff options
author | Keith Davis <keith.davis@arm.com> | 2020-11-26 17:40:35 +0000 |
---|---|---|
committer | KeithARM <keith.davis@arm.com> | 2020-11-30 16:11:50 +0000 |
commit | 892fafe510077fac11610a9081fc10de09ffbef3 (patch) | |
tree | bcb331dbf71c3507b83316dd831f6bbd73323fd8 /delegate/src/test/ActivationTestHelper.hpp | |
parent | 34fa1bd7994af9abf52dbcc4aa808d0fa5f14aa3 (diff) | |
download | armnn-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/ActivationTestHelper.hpp')
-rw-r--r-- | delegate/src/test/ActivationTestHelper.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/delegate/src/test/ActivationTestHelper.hpp b/delegate/src/test/ActivationTestHelper.hpp index 04da3ccc49..2368a36931 100644 --- a/delegate/src/test/ActivationTestHelper.hpp +++ b/delegate/src/test/ActivationTestHelper.hpp @@ -38,16 +38,16 @@ std::vector<char> CreateActivationTfLiteModel(tflite::BuiltinOperator activation 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()), |