aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-02-22 11:08:32 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-02-22 14:49:12 +0000
commit8f5802f1ee432445ed37344060ffa23916f7f29f (patch)
treeae119ed1c1817b74d14699265d7bcd7ad1a74bab /src/core/NEON/kernels/NEReshapeLayerKernel.cpp
parent804aafbce2750049e658af8b01afde731413287f (diff)
downloadComputeLibrary-8f5802f1ee432445ed37344060ffa23916f7f29f.tar.gz
COMPMID-1710: Add FP16 support checks.
Change-Id: I6291847935996859ab245160714f9fbefb03b5be Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/761 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEReshapeLayerKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEReshapeLayerKernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
index 0c7267da80..649fba30d4 100644
--- a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
+++ b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
@@ -43,6 +43,7 @@ namespace
Status validate_arguments(const ITensorInfo *input, const ITensorInfo *output)
{
ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(input, output);
+ // Note: ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED(input) is not needed here as this kernel doesn't use NEON FP16 instructions.
ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::S8, DataType::QASYMM8, DataType::U16, DataType::S16,
DataType::U32, DataType::S32, DataType::F16, DataType::F32);