diff options
author | Tracy Narine <tracy.narine@arm.com> | 2023-07-13 16:50:54 +0100 |
---|---|---|
committer | Tracy Narine <tracy.narine@arm.com> | 2023-07-17 14:19:36 +0100 |
commit | bb8d7591a35bd95480b39001f8b7e41a6671f3a6 (patch) | |
tree | abf2871aa1bb86378f423df405164b0d4521db3f /src/armnn/BackendHelper.cpp | |
parent | 688268328c69e7d4181cdd31fe4717c80a6d1685 (diff) | |
download | armnn-bb8d7591a35bd95480b39001f8b7e41a6671f3a6.tar.gz |
IVGCVSW-7879 Change REVERSE_V2 from LayerWithParameters with 1 input, to Layer with 2 inputs
* Changing ReverseV2 to use two inputs
* This is required by the backends
* The ReverseV2Descriptor was removed
* Tests updated
* Added a Run<> templatefor inputs with different data types
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: I22f947de829b4b3da6bda3a74f4ffdef4052cc25
Diffstat (limited to 'src/armnn/BackendHelper.cpp')
-rw-r--r-- | src/armnn/BackendHelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/BackendHelper.cpp b/src/armnn/BackendHelper.cpp index 404d278efc..18184fbfb2 100644 --- a/src/armnn/BackendHelper.cpp +++ b/src/armnn/BackendHelper.cpp @@ -1211,16 +1211,16 @@ bool LayerSupportHandle::IsResizeSupported(const TensorInfo& input, reasonIfUnsupported); } -bool LayerSupportHandle::IsReverseV2Supported(const armnn::TensorInfo &input, +bool LayerSupportHandle::IsReverseV2Supported(const armnn::TensorInfo &input0, + const armnn::TensorInfo &input1, const armnn::TensorInfo &output, - const armnn::ReverseV2Descriptor &descriptor, Optional<std::string &> reasonIfUnsupported) { - TensorInfos infos{input, output}; + TensorInfos infos{input0, input1, output}; return m_LayerSupport->IsLayerSupported(LayerType::ReverseV2, infos, - descriptor, + BaseDescriptor(), EmptyOptional(), EmptyOptional(), reasonIfUnsupported); |