/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/ |
H A D | LSTMLayerQuantized.cpp | 96 …auto input_to_output_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE() local 117 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_SUITE() 125 input_to_output_weights.allocator()->allocate(); in TEST_SUITE() 153 fill_tensor(input_to_output_weights, std::vector<uint8_t> { 203, 244, in TEST_SUITE() 235 …auto input_to_output_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_CASE() local 256 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_CASE() 264 input_to_output_weights.allocator()->allocate(); in TEST_CASE() 304 …fill_tensor(input_to_output_weights, std::vector<uint8_t> { 205, 7, 95, 104, 252, 143, 226, 73, in TEST_CASE() 475 …auto input_to_output_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE() local 496 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_SUITE() [all …]
|
/aosp_15_r20/external/ComputeLibrary/tests/validation/NEON/ |
H A D | LSTMLayerQuantized.cpp | 103 …auto input_to_output_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE() local 124 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_SUITE() 132 input_to_output_weights.allocator()->allocate(); in TEST_SUITE() 160 fill_tensor(input_to_output_weights, std::vector<uint8_t> { 203, 244, in TEST_SUITE() 242 …auto input_to_output_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_CASE() local 263 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_CASE() 271 input_to_output_weights.allocator()->allocate(); in TEST_CASE() 311 …fill_tensor(input_to_output_weights, std::vector<uint8_t> { 205, 7, 95, 104, 252, 143, 226, 73, in TEST_CASE() 482 …auto input_to_output_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE() local 503 …input_to_input_weights, &input_to_forget_weights, &input_to_cell_weights, &input_to_output_weights, in TEST_SUITE() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/ |
H A D | unidirectional_sequence_lstm.cc | 107 const TfLiteTensor* input_to_output_weights; in PopulateQuantizedLstmParams8x8_16() local 111 &input_to_output_weights)); in PopulateQuantizedLstmParams8x8_16() 257 input_to_output_weight_scale = input_to_output_weights->params.scale; in PopulateQuantizedLstmParams8x8_16() 737 const TfLiteTensor* input_to_output_weights; in PopulatePrecomputedZPTimesWeightsWithBias() local 741 &input_to_output_weights)); in PopulatePrecomputedZPTimesWeightsWithBias() 823 context, input_zero_point, input_to_output_weights, output_gate_bias, in PopulatePrecomputedZPTimesWeightsWithBias() 898 const TfLiteTensor* input_to_output_weights; in Prepare() local 902 &input_to_output_weights)); in Prepare() 903 const int n_cell = input_to_output_weights->dims->data[0]; in Prepare() 904 TF_LITE_ENSURE_EQ(context, input_to_output_weights->dims->size, 2); in Prepare() [all …]
|
H A D | lstm.cc | 192 const TfLiteTensor* input_to_output_weights; in PopulateQuantizedLstmParams8x8_16() local 195 &input_to_output_weights)); in PopulateQuantizedLstmParams8x8_16() 335 input_to_output_weight_scale = input_to_output_weights->params.scale; in PopulateQuantizedLstmParams8x8_16() 480 const TfLiteTensor* input_to_output_weights; in PopulateQuantizedLstmParams8x8_8() local 483 &input_to_output_weights)); in PopulateQuantizedLstmParams8x8_8() 656 input_to_output_weight_ptr = input_to_output_weights->data.int8; in PopulateQuantizedLstmParams8x8_8() 657 input_to_output_weight_scale = input_to_output_weights->params.scale; in PopulateQuantizedLstmParams8x8_8() 1175 const TfLiteTensor* input_to_output_weights; in PopulatePrecomputedZPTimesWeightsWithBias() local 1178 &input_to_output_weights)); in PopulatePrecomputedZPTimesWeightsWithBias() 1250 context, input_zero_point, input_to_output_weights, output_gate_bias, in PopulatePrecomputedZPTimesWeightsWithBias() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/functions/ |
H A D | CLLSTMLayerQuantized.cpp | 61 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 67 …o_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in configure() 73 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 79 …t, input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 83 …o_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in configure() 88 input_to_output_weights->info(), in configure() 104 _input_to_output_weights = input_to_output_weights; in configure() 119 inputs_weights_vector.emplace_back(input_to_output_weights); in configure() 281 …rget_weights, const ITensorInfo *input_to_cell_weights, const ITensorInfo *input_to_output_weights, in validate() argument 287 …o_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in validate() [all …]
|
H A D | CLQLSTMLayer.cpp | 160 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 167 …_compile_context(), input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 173 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 180 …TE_ERROR_ON_NULLPTR(input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 185 …_COMPUTE_LOG_PARAMS(input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 194 …), input_to_forget_weights->info(), input_to_cell_weights->info(), input_to_output_weights->info(), in configure() 201 const int num_units = input_to_output_weights->info()->dimension(1); in configure() 211 _input_to_output_weights = input_to_output_weights; in configure() 263 …_input_to_output_reduction->configure(compile_context, input_to_output_weights->info(), _input_to_… in configure() 278 …_transpose_input_to_output_weights.configure(compile_context, input_to_output_weights, &_input_to_… in configure() [all …]
|
H A D | CLLSTMLayer.cpp | 61 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 68 …ontext(), input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in configure() 74 …o_forget_weights, const ICLTensor *input_to_cell_weights, const ICLTensor *input_to_output_weights, in configure() argument 82 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 88 …OG_PARAMS(input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in configure() 100 … input_to_cell_weights->info(), input_to_output_weights->info(), in configure() 299 in_out_weights.emplace_back(input_to_output_weights); in configure() 401 …rget_weights, const ITensorInfo *input_to_cell_weights, const ITensorInfo *input_to_output_weights, in validate() argument 409 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in validate() 418 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in validate() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/NEON/functions/ |
H A D | NEQLSTMLayer.cpp | 215 …ut_to_forget_weights, const ITensor *input_to_cell_weights, const ITensor *input_to_output_weights, in configure() argument 222 …TE_ERROR_ON_NULLPTR(input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 226 …_COMPUTE_LOG_PARAMS(input, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 236 …_input_to_output_weights_transposed.info()->set_quantization_info(input_to_output_weights->info()-… in configure() 256 …put_to_forget_weights_symm8.info(), input_to_cell_weights->info(), input_to_output_weights->info(), in configure() 264 …), input_to_forget_weights->info(), input_to_cell_weights->info(), input_to_output_weights->info(), in configure() 272 const int num_units = input_to_output_weights->info()->dimension(1); in configure() 282 _input_to_output_weights = input_to_output_weights; in configure() 341 …_input_to_output_reduction->configure(input_to_output_weights->info(), _input_to_output_eff_bias.i… in configure() 356 …_transpose_input_to_output_weights.configure(input_to_output_weights, &_input_to_output_weights_tr… in configure() [all …]
|
H A D | NELSTMLayerQuantized.cpp | 61 …ut_to_forget_weights, const ITensor *input_to_cell_weights, const ITensor *input_to_output_weights, in configure() argument 67 …t, input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 72 input_to_output_weights->info(), in configure() 76 …t, input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 92 _input_to_output_weights = input_to_output_weights; in configure() 103 … input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights }; in configure() 249 …rget_weights, const ITensorInfo *input_to_cell_weights, const ITensorInfo *input_to_output_weights, in validate() argument 255 …o_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurren… in validate() 276 …, input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights); in validate() 283 …, input_to_input_weights, input_to_forget_weights, input_to_cell_weights, input_to_output_weights); in validate() [all …]
|
H A D | NELSTMLayer.cpp | 58 …ut_to_forget_weights, const ITensor *input_to_cell_weights, const ITensor *input_to_output_weights, in configure() argument 66 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 72 input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in configure() 87 … input_to_cell_weights->info(), input_to_output_weights->info(), in configure() 277 in_out_weights.emplace_back(input_to_output_weights); in configure() 376 …rget_weights, const ITensorInfo *input_to_cell_weights, const ITensorInfo *input_to_output_weights, in validate() argument 384 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in validate() 393 … input_to_forget_weights, input_to_cell_weights, input_to_output_weights, in validate() 403 ARM_COMPUTE_RETURN_ERROR_ON(input_to_output_weights->num_dimensions() > 2); in validate() 420 const unsigned int num_cells = input_to_output_weights->dimension(1); in validate() [all …]
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | layer_norm_lstm.mod.py | 35 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", variable 96 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 120 input_to_output_weights: [ 207 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", variable 268 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 289 input_to_output_weights: [
|
D | quantized_lstm.mod.py | 36 input_to_output_weights = Input("inputToOutputWeights", InputWeightsType) variable 65 input_to_output_weights, 83 input_to_output_weights: [195, 187, 11, 99, 109, 10, 218, 48], 126 input_to_output_weights = Parameter("inputToOutputWeights", InputWeightsType, variable 160 input_to_output_weights, recurrent_to_input_weights,
|
D | lstm2_state_float16.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 99 …input_to_output_weights: [0.10725588, -0.02335852, -0.55932593, -0.09426838, -0.44257352, 0.549397…
|
D | lstm3_state2_float16.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 167 input_to_output_weights: [
|
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.mod.py | 38 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", variable 94 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 114 input_to_output_weights: [
|
D | lstm2_float16.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 99 …input_to_output_weights: [0.10725588, -0.02335852, -0.55932593, -0.09426838, -0.44257352, 0.549397…
|
D | lstm_state_float16.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 100 …input_to_output_weights: [-0.25065863, -0.28290087, 0.04613829, 0.40525138, 0.44272184, 0.03897077…
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | qlstm_projection.mod.py | 34 input_to_output_weights = Input("input_to_output_weights", InputWeightsType) variable 85 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 107 input_to_output_weights: [ 166 input_to_output_weights: [
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/tools/optimize/calibration/builtin_logging_ops/ |
H A D | lstm.cc | 268 const TfLiteTensor* input_to_output_weights, in EvalCalibration() argument 307 const int n_cell = input_to_output_weights->dims->data[0]; in EvalCalibration() 353 GetTensorData<float>(input_to_output_weights), aux_input_ptr, in EvalCalibration() 415 GetTensorData<float>(input_to_output_weights), aux_input_ptr, in EvalCalibration() 486 const TfLiteTensor* input_to_output_weights; in lstm_eval() local 491 &input_to_output_weights)); in lstm_eval() 606 switch (input_to_output_weights->type) { in lstm_eval() 610 input_to_cell_weights, input_to_output_weights, in lstm_eval()
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | lstm2_state.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 99 …input_to_output_weights: [0.10725588, -0.02335852, -0.55932593, -0.09426838, -0.44257352, 0.549397…
|
D | lstm_state.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 100 …input_to_output_weights: [-0.25065863, -0.28290087, 0.04613829, 0.40525138, 0.44272184, 0.03897077…
|
D | lstm3_state.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 167 input_to_output_weights: [
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | lstm2_state2_relaxed.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 100 …input_to_output_weights: [0.10725588, -0.02335852, -0.55932593, -0.09426838, -0.44257352, 0.549397…
|
D | lstm_relaxed.mod.py | 32 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 69 input_to_output_weights, 101 …input_to_output_weights: [-0.25065863, -0.28290087, 0.04613829, 0.40525138, 0.44272184, 0.03897077…
|
/aosp_15_r20/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_float/ |
D | lstm_float.mod.py | 28 input_to_output_weights = Input("input_to_output_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_cell, … variable 65 input_to_output_weights, 97 …input_to_output_weights: [-0.25065863, -0.28290087, 0.04613829, 0.40525138, 0.44272184, 0.03897077…
|