diff options
author | FrancisMurtagh <francis.murtagh@arm.com> | 2018-12-18 12:57:35 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-12-18 14:33:21 +0000 |
commit | 30cdfcac03fc9f3ab424865b40c0490799e5c8fb (patch) | |
tree | 4611a128b99b60387ce84c463346a275c7266c3a /src/backends/reference/RefLayerSupport.cpp | |
parent | d74dc91af2d1302bf9024fcb1690d5df035f9c15 (diff) | |
download | armnn-30cdfcac03fc9f3ab424865b40c0490799e5c8fb.tar.gz |
IVGCVSW-2365 Add Reference Equal Workload Implementation
* Add reference equal workload
* Add Reference Workload Unit Test
Change-Id: If2848e7dde4248566b99d91726d08143c40ff80d
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index 2c8f9cb6e1..2952ae1a80 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -203,6 +203,21 @@ bool RefLayerSupport::IsDivisionSupported(const TensorInfo& input0, &TrueFunc<>); } +bool RefLayerSupport::IsEqualSupported(const TensorInfo& input0, + const TensorInfo& input1, + const TensorInfo& output, + Optional<std::string&> reasonIfUnsupported) const +{ + ignore_unused(input0); + ignore_unused(input1); + ignore_unused(output); + ignore_unused(reasonIfUnsupported); + return IsSupportedForDataTypeRef(reasonIfUnsupported, + input0.GetDataType(), + &TrueFunc<>, + &TrueFunc<>); +} + bool RefLayerSupport::IsFakeQuantizationSupported(const TensorInfo& input, const FakeQuantizationDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const |