aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMike Kelly <mike.kelly@arm.com>2023-03-15 15:06:23 +0000
committerTeresaARM <teresa.charlinreyes@arm.com>2023-04-03 16:30:45 +0000
commit2c14db6f5747a279b7bf7dd2244ac3c82b86656c (patch)
tree0932c959351ebe03e93d9803b83b3dec2645916b /samples
parent7be50dca00995c290b4eefd75abed70bdbfb3d0f (diff)
downloadarmnn-2c14db6f5747a279b7bf7dd2244ac3c82b86656c.tar.gz
IVGCVSW-3808 Deprecation notices for old ElementwiseBinary layers
* Added Deprecation notices for old ElementwiseBinary layers. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I5bd0f186aaed675885d667f47e1e210ee9ec84f8
Diffstat (limited to 'samples')
-rw-r--r--samples/PreImportMemorySample.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/PreImportMemorySample.cpp b/samples/PreImportMemorySample.cpp
index cf196fd20e..98f386bfdf 100644
--- a/samples/PreImportMemorySample.cpp
+++ b/samples/PreImportMemorySample.cpp
@@ -31,7 +31,9 @@ int main()
armnn::INetworkPtr testNetwork(armnn::INetwork::Create());
auto inputLayer1 = testNetwork->AddInputLayer(0, "input 1 layer");
auto inputLayer2 = testNetwork->AddInputLayer(1, "input 2 layer");
+ ARMNN_NO_DEPRECATE_WARN_BEGIN
auto addLayer = testNetwork->AddAdditionLayer("add layer");
+ ARMNN_NO_DEPRECATE_WARN_END
auto outputLayer = testNetwork->AddOutputLayer(2, "output layer");
// Set the tensors in the network.