aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMike Kelly <mike.kelly@arm.com>2023-04-05 12:51:10 +0100
committerMike Kelly <mike.kelly@arm.com>2023-04-05 15:08:02 +0100
commit1ec5f85a0b98785fee16dd908b5d193e2b8a52db (patch)
treef6a7b28e078153026424f1916fde8e34e1e2dc3e /samples
parent1bf35f5b8b480b2af3e904cb64e4bd5c6147b0fb (diff)
downloadarmnn-1ec5f85a0b98785fee16dd908b5d193e2b8a52db.tar.gz
IVGCVSW-7673 Fix for failing build
* Added ARMNN_NO_DEPRECATE_WARN_ to test files for Tosa and DynamicSample. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I2f1b771d719cf637e17cc423cd2211db9643a6e8
Diffstat (limited to 'samples')
-rw-r--r--samples/DynamicSample.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/DynamicSample.cpp b/samples/DynamicSample.cpp
index e4d2b28a4b..65732ca440 100644
--- a/samples/DynamicSample.cpp
+++ b/samples/DynamicSample.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2020 Arm Ltd. All rights reserved.
+// Copyright © 2020-2021,2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <armnn/INetwork.hpp>
@@ -21,7 +21,7 @@ int main()
IConnectableLayer* input0 = myNetwork->AddInputLayer(0);
IConnectableLayer* input1 = myNetwork->AddInputLayer(1);
- IConnectableLayer* add = myNetwork->AddAdditionLayer();
+ IConnectableLayer* add = myNetwork->AddElementwiseBinaryLayer(BinaryOperation::Add);
IConnectableLayer* output = myNetwork->AddOutputLayer(0);
input0->GetOutputSlot(0).Connect(add->GetInputSlot(0));