diff options
author | Nina Drozd <nina.drozd@arm.com> | 2019-05-29 10:41:04 +0100 |
---|---|---|
committer | Nina Drozd <nina.drozd@arm.com> | 2019-05-29 14:41:07 +0100 |
commit | 8ed4b8c34df929d29952f6b3f835bf61d57466e7 (patch) | |
tree | a299751d347bd0d9523179ebfce926983e1b9135 /src/backends/reference/RefLayerSupport.cpp | |
parent | a70fe6049672710ffc06b708198ef44f3873eb89 (diff) | |
download | armnn-8ed4b8c34df929d29952f6b3f835bf61d57466e7.tar.gz |
IVGCVSW-3172 Add QSymm16 support for reshape workload
* Added QSymm16 to supported types in WorkloadData
* Added QSymm16 to supported types in RefLayerSupport
* Created templated SimpleReshapeTest in LayerTests
* Updated ClLayerTests to use templated SimpleReshapeTest
* Updated NeonLayerTests to use templated SimpleReshapeTest
* Added test for QSymm16 to RefCreateWorkloadTests, RefLayerTests
* Removed ReshapeTestImpl as all reshape test methods were moved
* Added FloorTestImpl for existing SimpleFloorTest
Change-Id: I78efede8aab74c2d4cb0841dd426b8e06186133d
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index 9a691a6fa7..a9cddfd1bb 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -1021,11 +1021,12 @@ bool RefLayerSupport::IsReshapeSupported(const TensorInfo& input, { ignore_unused(descriptor); // Define supported output types. - std::array<DataType,3> supportedOutputTypes = + std::array<DataType,4> supportedOutputTypes = { DataType::Float32, DataType::Float16, - DataType::QuantisedAsymm8 + DataType::QuantisedAsymm8, + DataType::QuantisedSymm16 }; return CheckSupportRule(TypeAnyOf(input, supportedOutputTypes), reasonIfUnsupported, "Reference reshape: input type not supported."); |