diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2023-07-28 13:01:32 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2023-08-04 11:50:13 +0000 |
commit | 66277031d8fb9588b5a9f3436b6a5f06173668a8 (patch) | |
tree | 6e7fa57788c1b0ba778f4f4d41d5f990e3108493 /include/armnnTestUtils | |
parent | c229b3fd81b42140c0fa8731e90bc07323cec794 (diff) | |
download | armnn-66277031d8fb9588b5a9f3436b6a5f06173668a8.tar.gz |
IVGCVSW-7635 Remove deprecated code due to be removed in 23.08 (ILayerSupport)
* ILayerSupport interface - removed unstable virtual functions.
* User instead uses IsLayerSupported accepting LayerType enum argument.
* Backend developers should implement the ILayerSupport::IsLayerSupported
method accepting LayerType as a switch statement with case being
LayerType and each case calling their implementation of IsXXXSupported()
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Iaaead8320bb1b2f1bdab6b5be2e1e69d0eb482d5
Diffstat (limited to 'include/armnnTestUtils')
-rw-r--r-- | include/armnnTestUtils/MockBackend.hpp | 8 | ||||
-rw-r--r-- | include/armnnTestUtils/Version.hpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/armnnTestUtils/MockBackend.hpp b/include/armnnTestUtils/MockBackend.hpp index 05df1b46b1..3c79e16220 100644 --- a/include/armnnTestUtils/MockBackend.hpp +++ b/include/armnnTestUtils/MockBackend.hpp @@ -331,13 +331,13 @@ public: } bool IsInputSupported(const TensorInfo& /*input*/, - Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const override + Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const { return true; } bool IsOutputSupported(const TensorInfo& /*input*/, - Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const override + Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const { return true; } @@ -345,7 +345,7 @@ public: bool IsAdditionSupported(const TensorInfo& /*input0*/, const TensorInfo& /*input1*/, const TensorInfo& /*output*/, - Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const override + Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const { return true; } @@ -355,7 +355,7 @@ public: const Convolution2dDescriptor& /*descriptor*/, const TensorInfo& /*weights*/, const Optional<TensorInfo>& /*biases*/, - Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const override + Optional<std::string&> /*reasonIfUnsupported = EmptyOptional()*/) const { return true; } diff --git a/include/armnnTestUtils/Version.hpp b/include/armnnTestUtils/Version.hpp index d7a8cd6164..a1c2e58009 100644 --- a/include/armnnTestUtils/Version.hpp +++ b/include/armnnTestUtils/Version.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -10,7 +10,7 @@ #define STRINGIFY_MACRO(s) #s // ArmnnTestUtils version components -#define ARMNN_TEST_UTILS_MAJOR_VERSION 2 +#define ARMNN_TEST_UTILS_MAJOR_VERSION 3 #define ARMNN_TEST_UTILS_MINOR_VERSION 0 #define ARMNN_TEST_UTILS_PATCH_VERSION 0 |