12 #include <arm_compute/graph/Tensor.h>
13 #include <arm_compute/runtime/NEON/functions/NELSTMLayerQuantized.h>
23 virtual void Execute()
const override;
26 mutable arm_compute::NELSTMLayerQuantized m_QuantizedLstmLayer;
28 std::unique_ptr<arm_compute::Tensor> m_InputToInputWeightsTensor;
29 std::unique_ptr<arm_compute::Tensor> m_InputToForgetWeightsTensor;
30 std::unique_ptr<arm_compute::Tensor> m_InputToCellWeightsTensor;
31 std::unique_ptr<arm_compute::Tensor> m_InputToOutputWeightsTensor;
32 std::unique_ptr<arm_compute::Tensor> m_RecurrentToInputWeightsTensor;
33 std::unique_ptr<arm_compute::Tensor> m_RecurrentToForgetWeightsTensor;
34 std::unique_ptr<arm_compute::Tensor> m_RecurrentToCellWeightsTensor;
35 std::unique_ptr<arm_compute::Tensor> m_RecurrentToOutputWeightsTensor;
36 std::unique_ptr<arm_compute::Tensor> m_InputGateBiasTensor;
37 std::unique_ptr<arm_compute::Tensor> m_ForgetGateBiasTensor;
38 std::unique_ptr<arm_compute::Tensor> m_CellBiasTensor;
39 std::unique_ptr<arm_compute::Tensor> m_OutputGateBiasTensor;
40 std::unique_ptr<arm_compute::Tensor> m_CellStateInTensor;
41 std::unique_ptr<arm_compute::Tensor> m_OutputStateInTensor;
42 std::unique_ptr<arm_compute::Tensor> m_CellStateOutTensor;
44 void FreeUnusedTensors();