aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/CL/LSTMLayer.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-02-06 18:08:04 +0000
committerManuel Bottini <manuel.bottini@arm.com>2019-02-07 16:07:16 +0000
commit4f85982a55ae417edde6864304aeb1d69972973e (patch)
tree094f88d2138ee20e57cfe482a89cd68833e91954 /tests/validation/CL/LSTMLayer.cpp
parentebc3a90721fe4a41b8e141466894d4d7185c01b7 (diff)
downloadComputeLibrary-4f85982a55ae417edde6864304aeb1d69972973e.tar.gz
COMPMID-1923: Input is ignored if peephole optimization is enabled in
LSTM Change-Id: I9e6c4fe279aafaf7f77af453785a8f677868a25a Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/639 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/CL/LSTMLayer.cpp')
-rw-r--r--tests/validation/CL/LSTMLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/validation/CL/LSTMLayer.cpp b/tests/validation/CL/LSTMLayer.cpp
index 4afebdc2ce..ea20bd6c2c 100644
--- a/tests/validation/CL/LSTMLayer.cpp
+++ b/tests/validation/CL/LSTMLayer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -160,6 +160,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, CLLSTMLayerFixture<float>, framework::DatasetMo
{
// Validate output
validate(CLAccessor(_target), _reference, tolerance_f32);
+ validate(CLAccessor(_target_scratch), _reference_scratch, tolerance_f32);
}
TEST_SUITE_END() // FP32
@@ -170,6 +171,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, CLLSTMLayerFixture<half>, framework::DatasetMod
{
// Validate output
validate(CLAccessor(_target), _reference, tolerance_f16);
+ validate(CLAccessor(_target_scratch), _reference_scratch, tolerance_f16);
}
TEST_SUITE_END() // FP16
TEST_SUITE_END() // LSTMLayer