From 0fa5e6dda7e9e76d7ca5f77777c35374c768f28c Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 21 Jan 2022 16:55:13 +0000 Subject: IVGCVSW-6269 Add support of Unidirectional Sequence Lstm fp32/fp16 to Android * Unidirectional Sequence Lstm is supported in android-nn-driver. * CTS and VTS pass for Unidirectional Sequence Lstm if there are any without weights as inputs. If that isn't the case use the tests implemented in the android driver for LSTM. Signed-off-by: Cathal Corbett Change-Id: Ie3a237b67f5101c4f9a2c7bea796e9c674bedba1 --- 1.3/HalPolicy.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to '1.3/HalPolicy.hpp') diff --git a/1.3/HalPolicy.hpp b/1.3/HalPolicy.hpp index dee391a7..7411b24b 100644 --- a/1.3/HalPolicy.hpp +++ b/1.3/HalPolicy.hpp @@ -171,6 +171,10 @@ private: static bool ConvertTranspose(const Operation& operation, const Model& model, ConversionData& data); static bool ConvertTransposeConv2d(const Operation& operation, const Model& model, ConversionData& data); + + static bool ConvertUnidirectionalSequenceLstm(const Operation& operation, + const Model& model, + ConversionData& data); }; } // namespace hal_1_3 -- cgit v1.2.1