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/RedefineTestHelper.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/RedefineTestHelper.hpp')
-rw-r--r-- | delegate/src/test/RedefineTestHelper.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/delegate/src/test/RedefineTestHelper.hpp b/delegate/src/test/RedefineTestHelper.hpp index 42fc4c878c..ca8246c3a6 100644 --- a/delegate/src/test/RedefineTestHelper.hpp +++ b/delegate/src/test/RedefineTestHelper.hpp @@ -68,8 +68,8 @@ std::vector<char> CreateRedefineTfLiteModel( if (useOption) { tensors = { inputTensor, outputTensor}; - operatorInputs = {{0}}; - subgraphInputs = {{0}}; + operatorInputs = {0}; + subgraphInputs = {0}; operatorBuiltinOptions = CreateReshapeOptions( flatBufferBuilder, flatBufferBuilder.CreateVector(targetShape.data(), targetShape.size())).Union(); @@ -87,15 +87,15 @@ std::vector<char> CreateRedefineTfLiteModel( 2, flatBufferBuilder.CreateString("shape")); tensors = { inputTensor, outputTensor, shapeTensor }; - operatorInputs = {{ 0, 2 }}; - subgraphInputs = {{ 0, 2 }}; + operatorInputs = {0, 2}; + subgraphInputs = {0, 2}; operatorBuiltinOptions = CreateReshapeOptions(flatBufferBuilder).Union(); } // create operator tflite::BuiltinOptions operatorBuiltinOptionsType = BuiltinOptions_ReshapeOptions; - const std::vector<int32_t> operatorOutputs{{1}}; + const std::vector<int32_t> operatorOutputs{1}; flatbuffers::Offset <Operator> redefineOperator = CreateOperator(flatBufferBuilder, 0, @@ -104,7 +104,7 @@ std::vector<char> CreateRedefineTfLiteModel( operatorBuiltinOptionsType, operatorBuiltinOptions); - const std::vector<int> subgraphOutputs{{1}}; + const std::vector<int> subgraphOutputs{1}; flatbuffers::Offset <SubGraph> subgraph = CreateSubGraph(flatBufferBuilder, flatBufferBuilder.CreateVector(tensors.data(), tensors.size()), |