From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- ..._neon_quantized_lstm_workload_8hpp_source.xhtml | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 20.05/_neon_quantized_lstm_workload_8hpp_source.xhtml (limited to '20.05/_neon_quantized_lstm_workload_8hpp_source.xhtml') diff --git a/20.05/_neon_quantized_lstm_workload_8hpp_source.xhtml b/20.05/_neon_quantized_lstm_workload_8hpp_source.xhtml new file mode 100644 index 0000000000..f43e87e549 --- /dev/null +++ b/20.05/_neon_quantized_lstm_workload_8hpp_source.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/workloads/NeonQuantizedLstmWorkload.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonQuantizedLstmWorkload.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
11 
12 #include <arm_compute/graph/Tensor.h>
13 #include <arm_compute/runtime/NEON/functions/NELSTMLayerQuantized.h>
14 
15 namespace armnn
16 {
17 
18 class NeonQuantizedLstmWorkload : public BaseWorkload<QuantizedLstmQueueDescriptor>
19 {
20 public:
23  virtual void Execute() const override;
24 
25 private:
26  mutable arm_compute::NELSTMLayerQuantized m_QuantizedLstmLayer;
27 
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;
43 
44  void FreeUnusedTensors();
45 };
46 
48  const TensorInfo& outputStateIn,
49  const TensorInfo& cellStateIn,
50  const TensorInfo& outputStateOut,
51  const TensorInfo& cellStateOut,
52  const QuantizedLstmInputParamsInfo& paramsInfo);
53 
54 } //namespace armnn
+ + + +
Copyright (c) 2020 ARM Limited.
+
NeonQuantizedLstmWorkload(const QuantizedLstmQueueDescriptor &descriptor, const WorkloadInfo &info)
+
arm_compute::Status NeonQuantizedLstmWorkloadValidate(const TensorInfo &input, const TensorInfo &cellStateIn, const TensorInfo &outputStateIn, const TensorInfo &cellStateOut, const TensorInfo &outputStateOut, const QuantizedLstmInputParamsInfo &paramsInfo)
+ + + +
Status
enumeration
Definition: Types.hpp:26
+ + + +
Contains information about inputs and outputs to a layer.
+
+
+ + + + -- cgit v1.2.1