aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
diff options
context:
space:
mode:
authorLes Bell <les.bell@arm.com>2017-11-29 10:48:23 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:41:36 +0000
commita5e6d67ddad4c88cec87b23063e8493768bb2c61 (patch)
tree5ef0f224b1fce27d2de9cb9f70d864ca0d0ef526 /src/core/NEON/kernels/NEReshapeLayerKernel.cpp
parent6fdfaa856b1eb69d6afbef5727b99756912fc6fa (diff)
downloadComputeLibrary-a5e6d67ddad4c88cec87b23063e8493768bb2c61.tar.gz
IVGCVSW-796 IVGCVSW-819 add NEON kernel U8 Reshape
Change-Id: I5cc348689f8fd3e3061e4a16c2540aab6da26639 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111160 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEReshapeLayerKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEReshapeLayerKernel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
index 8e69252505..a0f324ef18 100644
--- a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
+++ b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp
@@ -60,7 +60,7 @@ inline void reshape_tensor(const Window &window, const ITensor *input, ITensor *
void NEReshapeLayerKernel::configure(const ITensor *input, ITensor *output)
{
- ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::S8, DataType::QS8, DataType::U16, DataType::S16, DataType::QS16,
+ ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::S8, DataType::QASYMM8, DataType::QS8, DataType::U16, DataType::S16, DataType::QS16,
DataType::U32, DataType::S32, DataType::F16, DataType::F32);
ARM_COMPUTE_ERROR_ON_NULLPTR(output);
ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(input, output);
@@ -94,6 +94,7 @@ void NEReshapeLayerKernel::run(const Window &window, const ThreadInfo &info)
{
case DataType::U8:
case DataType::S8:
+ case DataType::QASYMM8:
case DataType::QS8:
reshape_tensor<uint8_t>(window, _input, _output);
break;