diff options
author | John Mcloughlin <john.mcloughlin@arm.com> | 2024-01-31 11:00:27 +0000 |
---|---|---|
committer | John Mcloughlin <john.mcloughlin@arm.com> | 2024-01-31 21:24:23 +0000 |
commit | 829e13edbe9487b5a0600688cec6312b867e2f07 (patch) | |
tree | 2b9176173e73afc1f1cdf62cec334c7ee64e7123 /src/backends/reference/test/RefEndToEndTests.cpp | |
parent | e4134fc28ce2a9c751fb22ff84b733d067255849 (diff) | |
download | armnn-829e13edbe9487b5a0600688cec6312b867e2f07.tar.gz |
IVGCVSW-7568 Implement Sub ElementwiseBinary operator GpuFsa
* Added support for Gpu Sub operator
* Added unit tests
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I1efaa485772a3716e3781566843bd50bd9bab811
Diffstat (limited to 'src/backends/reference/test/RefEndToEndTests.cpp')
-rw-r--r-- | src/backends/reference/test/RefEndToEndTests.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backends/reference/test/RefEndToEndTests.cpp b/src/backends/reference/test/RefEndToEndTests.cpp index 185deb685d..c09304e4d1 100644 --- a/src/backends/reference/test/RefEndToEndTests.cpp +++ b/src/backends/reference/test/RefEndToEndTests.cpp @@ -1819,6 +1819,14 @@ TEST_CASE("RefSubEndToEndTestUint8") { ElementwiseBinarySimpleEndToEnd<armnn::DataType::QAsymmU8>(defaultBackends, BinaryOperation::Sub); } +TEST_CASE("RefSubEndToEndTestFloat32Simple3D") +{ + ElementwiseBinarySimple3DEndToEnd<armnn::DataType::Float32>(defaultBackends, BinaryOperation::Sub); +} +TEST_CASE("RefSubEndToEndTestFloat16Simple3D") +{ + ElementwiseBinarySimple3DEndToEnd<armnn::DataType::Float16>(defaultBackends, BinaryOperation::Sub); +} TEST_CASE("RefMaximumEndToEndTestFloat32") { ElementwiseBinarySimpleEndToEnd<armnn::DataType::Float32>(defaultBackends, BinaryOperation::Maximum); |