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/QuantizationTestHelper.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/QuantizationTestHelper.hpp')
-rw-r--r-- | delegate/src/test/QuantizationTestHelper.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/delegate/src/test/QuantizationTestHelper.hpp b/delegate/src/test/QuantizationTestHelper.hpp index 2843e43233..e4155040cd 100644 --- a/delegate/src/test/QuantizationTestHelper.hpp +++ b/delegate/src/test/QuantizationTestHelper.hpp @@ -78,8 +78,8 @@ std::vector<char> CreateQuantizationTfLiteModel(tflite::BuiltinOperator quantiza break; } - const std::vector<int32_t> operatorInputs{ {0} }; - const std::vector<int32_t> operatorOutputs{{1}}; + const std::vector<int32_t> operatorInputs{0}; + const std::vector<int32_t> operatorOutputs{1}; flatbuffers::Offset <Operator> quantizationOperator = CreateOperator(flatBufferBuilder, 0, @@ -88,8 +88,8 @@ std::vector<char> CreateQuantizationTfLiteModel(tflite::BuiltinOperator quantiza operatorBuiltinOptionsType, operatorBuiltinOptions); - 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()), |