24.02.1
|
#include <LSTMParams.h>
Definition at line 36 of file LSTMParams.h.
|
inline |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default destructor.
|
inline |
Definition at line 263 of file LSTMParams.h.
Referenced by NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_cell_clip_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 283 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 253 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 223 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_peephole_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 213 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 228 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_peephole_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 278 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 248 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 313 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 303 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 308 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 298 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_hidden_state_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 293 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_hidden_state_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 218 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_cifg_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 273 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_matmul_scale_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 243 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 203 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), 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)
|
inline |
Definition at line 288 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 258 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_layer_normalization_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 238 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_projection_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 268 of file LSTMParams.h.
Referenced by NEQLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_projection_clip_params(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 233 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), LSTMParams< T >::set_projection_params(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
|
inline |
Definition at line 208 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), 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 150 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 196 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 131 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 177 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 115 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().
|
inline |
Set projection clip value.
[in] | projection_clip | Value to be used to clip the projection, in case projection is enabled. |
Definition at line 162 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 101 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 318 of file LSTMParams.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), NELSTMLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayer::configure(), CLQLSTMLayer::configure(), arm_compute::operator<<(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().