21.02
|
#include <LSTMParams.h>
Definition at line 38 of file LSTMParams.h.
|
inline |
Constructor.
Definition at line 42 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 257 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 277 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 247 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 217 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 207 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 222 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 272 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 242 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 307 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 297 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 302 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 292 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 287 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 212 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 267 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 237 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 197 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 282 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 252 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 232 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 262 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 227 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 202 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 147 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 84 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 190 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 130 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 174 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 114 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 159 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 100 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 312 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().