aboutsummaryrefslogtreecommitdiff
path: root/delegate
diff options
context:
space:
mode:
authorKeith Davis <keith.davis@arm.com>2021-01-31 18:36:58 +0000
committerKeith Davis <keith.davis@arm.com>2021-01-31 18:37:06 +0000
commit244b5bf11ee077b4c3bddd3786bdb80361fc2833 (patch)
treea80259746c25f84e4c9b42ed9059121c683e4a6a /delegate
parent4f29f156599e0d1ebf5b9b5423450ba2ae3288b4 (diff)
downloadarmnn-244b5bf11ee077b4c3bddd3786bdb80361fc2833.tar.gz
IVGCVSW-5374 Provide Android Build for Delegate
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: Ie8c03153f82434d73572278eedb8a4b5b89ed837
Diffstat (limited to 'delegate')
-rw-r--r--delegate/src/test/NormalizationTestHelper.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/delegate/src/test/NormalizationTestHelper.hpp b/delegate/src/test/NormalizationTestHelper.hpp
index 26286b1c88..bc969c248d 100644
--- a/delegate/src/test/NormalizationTestHelper.hpp
+++ b/delegate/src/test/NormalizationTestHelper.hpp
@@ -64,8 +64,8 @@ std::vector<char> CreateNormalizationTfLiteModel(tflite::BuiltinOperator normali
buffers.push_back(CreateBuffer(flatBufferBuilder, flatBufferBuilder.CreateVector({})));
buffers.push_back(CreateBuffer(flatBufferBuilder, flatBufferBuilder.CreateVector({})));
- std::vector<int32_t> operatorInputs = {{ 0 }};
- std::vector<int> subgraphInputs = {{ 0 }};
+ std::vector<int32_t> operatorInputs = { 0 };
+ std::vector<int> subgraphInputs = { 0 };
tflite::BuiltinOptions operatorBuiltinOptionsType = BuiltinOptions_L2NormOptions;
flatbuffers::Offset<void> operatorBuiltinOptions = CreateL2NormOptions(flatBufferBuilder,
@@ -79,7 +79,7 @@ std::vector<char> CreateNormalizationTfLiteModel(tflite::BuiltinOperator normali
}
// create operator
- const std::vector<int32_t> operatorOutputs{{ 1 }};
+ const std::vector<int32_t> operatorOutputs{ 1 };
flatbuffers::Offset <Operator> normalizationOperator =
CreateOperator(flatBufferBuilder,
0,
@@ -88,7 +88,7 @@ std::vector<char> CreateNormalizationTfLiteModel(tflite::BuiltinOperator normali
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()),