21.08
|
#include <LSTMParams.h>
Definition at line 36 of file LSTMParams.h.
|
inline |
Constructor.
Definition at line 40 of file LSTMParams.h.
References LSTMParams< T >::operator=(), and LSTMParams< T >::~LSTMParams().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default destructor.
Referenced by LSTMParams< T >::LSTMParams().
|
inline |
Definition at line 255 of file LSTMParams.h.
Referenced by NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_cell_clip_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 275 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 245 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 215 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_peephole_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 205 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 220 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_peephole_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 270 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 240 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 305 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 295 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 300 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 290 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_hidden_state_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 285 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_hidden_state_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 210 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 265 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 235 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 195 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by LSTMParams< T >::LSTMParams().
|
inline |
Definition at line 280 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 250 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 230 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_projection_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 260 of file LSTMParams.h.
Referenced by NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_projection_clip_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 225 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_projection_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 200 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Set cell clip value.
[in] | cell_clip | Value to be used to clip the cell state prior to the cell output activation. |
Definition at line 145 of file LSTMParams.h.
References LSTMParams< T >::cell_clip().
|
inline |
Set CIFG tensor parameters.
[in] | input_to_input_weights | 2D weights tensor with dimensions [input_size, num_units]. Data types supported: QSYMM8/F16/F32. |
[in] | recurrent_to_input_weights | 2D weights tensor with dimensions [output_size, num_units]. Data type supported: Same as input_to_input_weights . |
[in] | cell_to_input_weights | 1D weights tensor with dimensions [num_units]. Can be nullptr. Data type supported: Same as input_to_input_weights . |
[in] | input_gate_bias | 1D weights tensor with dimensions [num_units]. Data type supported: Same as input_to_input_weights , S32 when input_to_input_weights is QSYMM8 |
Definition at line 82 of file LSTMParams.h.
References LSTMParams< T >::cell_to_input_weights(), LSTMParams< T >::input_gate_bias(), LSTMParams< T >::input_to_input_weights(), and LSTMParams< T >::recurrent_to_input_weights().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info().
|
inline |
Set hidden state zero and scale parameters.
[in] | hidden_state_zero | The zero point of the hidden state. |
[in] | hidden_state_scale | The scale of the hidden state. |
Definition at line 188 of file LSTMParams.h.
References LSTMParams< T >::hidden_state_scale(), and LSTMParams< T >::hidden_state_zero().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info().
|
inline |
Set layer normalization tensor parameters.
[in] | input_layer_norm_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Data types supported: QSYMM16/F16/F32. |
[in] | forget_layer_norm_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Same as input_layer_norm_weights . |
[in] | cell_layer_norm_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Same as input_layer_norm_weights . |
[in] | output_layer_norm_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Same as input_layer_norm_weights . |
Definition at line 128 of file LSTMParams.h.
References LSTMParams< T >::cell_layer_norm_weights(), LSTMParams< T >::forget_layer_norm_weights(), LSTMParams< T >::input_layer_norm_weights(), and LSTMParams< T >::output_layer_norm_weights().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info().
|
inline |
Set scale of the intermediate results of matmul of each layer parameters.
[in] | input_intermediate_scale | Scale of the intermediate result of matmul, i.e. input to layer normalization, at input gate. |
[in] | forget_intermediate_scale | Scale of the intermediate result of matmul, i.e. input to layer normalization, at forget gate. |
[in] | cell_intermediate_scale | Scale of the intermediate result of matmul, i.e. input to layer normalization, at cell gate. |
[in] | output_intermediate_scale | Scale of the intermediate result of matmul, i.e. input to layer normalization, at output gate. |
Definition at line 172 of file LSTMParams.h.
References LSTMParams< T >::cell_intermediate_scale(), LSTMParams< T >::forget_intermediate_scale(), LSTMParams< T >::input_intermediate_scale(), and LSTMParams< T >::output_intermediate_scale().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info().
|
inline |
Set peephole tensor parameters.
[in] | cell_to_forget_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Data types supported: QSYMM16/F16/F32. |
[in] | cell_to_output_weights | 1D weights tensor with dimensions [num_units]. Data type supported: Same as cell_to_forget_weights . |
Definition at line 112 of file LSTMParams.h.
References LSTMParams< T >::cell_to_forget_weights(), and LSTMParams< T >::cell_to_output_weights().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), and arm_compute::test::validation::DATA_TEST_CASE().
|
inline |
Set projection clip value.
[in] | projection_clip | Value to be used to clip the projection, in case projection is enabled. |
Definition at line 157 of file LSTMParams.h.
References LSTMParams< T >::projection_clip().
|
inline |
Set projection tensor parameters.
[in] | projection_weights | 2D weights tensor with dimensions [output_size, num_units]. Data type supported: Data types supported: QSYMM8/F16/F32. |
[in] | projection_bias | 1D weights tensor with dimensions [output_size]. Data type supported: Same as projection_weights , S32 when input_to_input_weights is QSYMM8. |
Definition at line 98 of file LSTMParams.h.
References LSTMParams< T >::projection_bias(), and LSTMParams< T >::projection_weights().
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info().
|
inline |
Definition at line 310 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().