14 #include <arm_compute/runtime/CL/functions/CLLSTMLayerQuantized.h>
20 const TensorInfo& previousOutputIn,
const TensorInfo& cellStateOut,
21 const TensorInfo& output,
22 const QuantizedLstmInputParamsInfo& paramsInfo);
29 const arm_compute::CLCompileContext& clCompileContext);
33 mutable arm_compute::CLLSTMLayerQuantized m_QuantizedLstmLayer;
35 std::unique_ptr<arm_compute::CLTensor> m_InputToInputWeightsTensor;
36 std::unique_ptr<arm_compute::CLTensor> m_InputToForgetWeightsTensor;
37 std::unique_ptr<arm_compute::CLTensor> m_InputToCellWeightsTensor;
38 std::unique_ptr<arm_compute::CLTensor> m_InputToOutputWeightsTensor;
39 std::unique_ptr<arm_compute::CLTensor> m_RecurrentToInputWeightsTensor;
40 std::unique_ptr<arm_compute::CLTensor> m_RecurrentToForgetWeightsTensor;
41 std::unique_ptr<arm_compute::CLTensor> m_RecurrentToCellWeightsTensor;
42 std::unique_ptr<arm_compute::CLTensor> m_RecurrentToOutputWeightsTensor;
43 std::unique_ptr<arm_compute::CLTensor> m_InputGateBiasTensor;
44 std::unique_ptr<arm_compute::CLTensor> m_ForgetGateBiasTensor;
45 std::unique_ptr<arm_compute::CLTensor> m_CellBiasTensor;
46 std::unique_ptr<arm_compute::CLTensor> m_OutputGateBiasTensor;
48 void FreeUnusedTensors();