aboutsummaryrefslogtreecommitdiff
path: root/delegate/test/ShapeTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/test/ShapeTest.cpp')
-rw-r--r--delegate/test/ShapeTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/delegate/test/ShapeTest.cpp b/delegate/test/ShapeTest.cpp
index 309b071d9a..3a3fdf7472 100644
--- a/delegate/test/ShapeTest.cpp
+++ b/delegate/test/ShapeTest.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2021, 2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2021, 2023-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -10,7 +10,7 @@
namespace armnnDelegate
{
-void ShapeSimpleTest(std::vector<armnn::BackendId>& backends)
+void ShapeSimpleTest(const std::vector<armnn::BackendId>& backends = {})
{
std::vector<int32_t> inputShape{ 1, 3, 2, 3 };
@@ -22,11 +22,11 @@ void ShapeSimpleTest(std::vector<armnn::BackendId>& backends)
ShapeTest<int32_t, int32_t>(::tflite::TensorType_INT32,
::tflite::TensorType_INT32,
- backends,
inputShape,
inputValues,
expectedOutputValues,
- expectedOutputShape);
+ expectedOutputShape,
+ backends);
}
// SHAPE Test Suite