COMPMID-3439: Fix peephole and projection in CLQLSTMLayer
authorSang-Hoon Park <sang-hoon.park@arm.com>
Tue, 12 May 2020 10:13:30 +0000 (11:13 +0100)
committerSang-Hoon Park <sang-hoon.park@arm.com>
Tue, 12 May 2020 16:25:57 +0000 (16:25 +0000)
commita7431aeef244c85f621b70b946d25229e42d1708
tree62f74403008cad9cb812202865d016addf711a18
parent1f567afcdfb2919fab417f0060155deda7132df8
COMPMID-3439: Fix peephole and projection in CLQLSTMLayer

The followings are essential to make it work

- QSYMM16 is added as supported data type in CLGEMMLowpOutputStage
- Internal TensorCopyKernel is added similar to NEQLSTMLayer

The followings are fix for related things.

- Projection is modified to remove copy of projection_bias from
  NEQLSTMLayer.
- Fix wrong argument for validate_mm()
- validate_mm() now returns on error.

Change-Id: Icbd04e9fdb8821eb41dd3e0a6a0980965b779714
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3177
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
arm_compute/runtime/CL/functions/CLQLSTMLayer.h
arm_compute/runtime/NEON/functions/NEQLSTMLayer.h
src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
src/runtime/CL/functions/CLQLSTMLayer.cpp
src/runtime/NEON/functions/NEQLSTMLayer.cpp