COMPMID-3239: Fix projection and peephole in NEQLSTMLayer
authorSang-Hoon Park <sang-hoon.park@arm.com>
Wed, 6 May 2020 20:01:19 +0000 (21:01 +0100)
committerSang-Hoon Park <sang-hoon.park@arm.com>
Mon, 11 May 2020 11:37:41 +0000 (11:37 +0000)
commitd5c020a20514cad8c78f0ab2cc46a03607854a49
treee4fdb01d446022267aaaced2021ad61399b6f34b
parent6f8b17dedb7b53b550e6210fd1c78c3a3e086271
COMPMID-3239: Fix projection and peephole in NEQLSTMLayer

- Peephole and projection has been fixed to be working
- Small internal kernel copying data between tensors to
  cover the case where num_units and output_size is different
  is added.

Below is strictly outside of this patch's scope but are changes
helping this patch working (directly or indirectly) or making
NEQLSTM more complete.

- Consideration for layer normalization is added to InfoHelpers
- QSYMM8 data type is added to helper function to
  print out tensors.
- NE/CLLSTMLayer::validate() logic has been modified to use correct
  value for shape validation.

Change-Id: I40b4e71dfdbe8432caa2fe4a9af60a725362cc33
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3157
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
arm_compute/core/utils/misc/InfoHelpers.h
arm_compute/runtime/NEON/functions/NEQLSTMLayer.h
src/core/Utils.cpp
src/runtime/CL/functions/CLLSTMLayer.cpp
src/runtime/NEON/functions/NELSTMLayer.cpp
src/runtime/NEON/functions/NEQLSTMLayer.cpp