/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/ |
H A D | LSTMLayerQuantized.cpp | 97 …auto recurrent_to_input_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE() local 118 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_SUITE() 126 recurrent_to_input_weights.allocator()->allocate(); in TEST_SUITE() 158 fill_tensor(recurrent_to_input_weights, std::vector<uint8_t> { 162, 168, 7, 95, in TEST_SUITE() 236 …auto recurrent_to_input_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_CASE() local 257 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_CASE() 265 recurrent_to_input_weights.allocator()->allocate(); in TEST_CASE() 313 …fill_tensor(recurrent_to_input_weights, std::vector<uint8_t> { 147, 112, 140, 103, 3, 255, 17, … in TEST_CASE() 476 …auto recurrent_to_input_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE() local 497 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_SUITE() [all …]
|
/aosp_15_r20/external/ComputeLibrary/tests/validation/NEON/ |
H A D | LSTMLayerQuantized.cpp | 104 …auto recurrent_to_input_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE() local 125 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_SUITE() 133 recurrent_to_input_weights.allocator()->allocate(); in TEST_SUITE() 165 fill_tensor(recurrent_to_input_weights, std::vector<uint8_t> { 162, 168, 7, 95, in TEST_SUITE() 243 …auto recurrent_to_input_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_CASE() local 264 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_CASE() 272 recurrent_to_input_weights.allocator()->allocate(); in TEST_CASE() 320 …fill_tensor(recurrent_to_input_weights, std::vector<uint8_t> { 147, 112, 140, 103, 3, 255, 17, … in TEST_CASE() 483 …auto recurrent_to_input_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE() local 504 …&recurrent_to_input_weights, &recurrent_to_forget_weights, &recurrent_to_cell_weights, &recurrent_… in TEST_SUITE() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/functions/ |
H A D | CLLSTMLayerQuantized.cpp | 62 …const ICLTensor *recurrent_to_input_weights, const ICLTensor *recurrent_to_forget_weights, const I… in configure() argument 67 …nput_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, in configure() 74 …const ICLTensor *recurrent_to_input_weights, const ICLTensor *recurrent_to_forget_weights, const I… in configure() argument 80 …recurrent_to_input_weights, recurrent_to_forget_weights, recurrent_to_cell_weights, recurrent_to_o… in configure() 83 …nput_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, in configure() 89 …recurrent_to_input_weights->info(), recurrent_to_forget_weights->info(), recurrent_to_cell_weights… in configure() 105 _recurrent_to_input_weights = recurrent_to_input_weights; in configure() 122 recurrent_weights_vector.emplace_back(recurrent_to_input_weights); in configure() 282 …const ITensorInfo *recurrent_to_input_weights, const ITensorInfo *recurrent_to_forget_weights, con… in validate() argument 287 …nput_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, in validate() [all …]
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | layer_norm_lstm.mod.py | 38 recurrent_to_input_weights = Input("recurrent_to_input_weights", variable 96 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 128 recurrent_to_input_weights: [ 210 recurrent_to_input_weights = Input("recurrent_to_input_weights", variable 268 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 297 recurrent_to_input_weights: [],
|
D | quantized_lstm.mod.py | 40 recurrent_to_input_weights = Input("recurrentToInputWeights", RecurrentWeightsType) variable 66 recurrent_to_input_weights, 84 …recurrent_to_input_weights: [254, 206, 77, 168, 71, 20, 215, 6, 223, 7, 118, 225, 59, 130, 174, 26… 131 recurrent_to_input_weights = Parameter("recurrentToInputWeights", RecurrentWeightsType, variable 160 input_to_output_weights, recurrent_to_input_weights,
|
D | lstm2_state_float16.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 106 recurrent_to_input_weights: [],
|
D | lstm3_state2_float16.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 215 recurrent_to_input_weights: [
|
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.mod.py | 41 recurrent_to_input_weights = Input("recurrent_to_input_weights", variable 94 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 122 recurrent_to_input_weights: [],
|
D | lstm2_float16.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 106 recurrent_to_input_weights: [],
|
D | lstm_state_float16.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 107 recurrent_to_input_weights: [
|
D | lstm_state2_float16.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT16", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 107 recurrent_to_input_weights: [
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/NEON/functions/ |
H A D | NELSTMLayerQuantized.cpp | 62 …const ITensor *recurrent_to_input_weights, const ITensor *recurrent_to_forget_weights, const ITens… in configure() argument 68 …recurrent_to_input_weights, recurrent_to_forget_weights, recurrent_to_cell_weights, recurrent_to_o… in configure() 73 …recurrent_to_input_weights->info(), recurrent_to_forget_weights->info(), recurrent_to_cell_weights… in configure() 77 …recurrent_to_input_weights, recurrent_to_forget_weights, recurrent_to_cell_weights, recurrent_to_o… in configure() 93 _recurrent_to_input_weights = recurrent_to_input_weights; in configure() 104 …std::vector<const ITensor *> recurrent_weights_vector{ recurrent_to_input_weights, recurrent_to_fo… in configure() 250 …const ITensorInfo *recurrent_to_input_weights, const ITensorInfo *recurrent_to_forget_weights, con… in validate() argument 255 …nput_to_forget_weights, input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, in validate() 277 …TE_RETURN_ERROR_ON_MISMATCHING_SHAPES(&recurrent_weights_info, recurrent_to_input_weights, recurre… in validate() 284 …ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(recurrent_to_input_weights, recurrent_to_forget… in validate() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/ |
H A D | lstm.cc | 197 const TfLiteTensor* recurrent_to_input_weights = in PopulateQuantizedLstmParams8x8_16() local 308 recurrent_to_input_weight_scale = recurrent_to_input_weights->params.scale; in PopulateQuantizedLstmParams8x8_16() 485 const TfLiteTensor* recurrent_to_input_weights = in PopulateQuantizedLstmParams8x8_8() local 613 recurrent_to_input_weight_ptr = recurrent_to_input_weights->data.int8; in PopulateQuantizedLstmParams8x8_8() 616 recurrent_to_input_weight_scale = recurrent_to_input_weights->params.scale; in PopulateQuantizedLstmParams8x8_8() 897 const TfLiteTensor* recurrent_to_input_weights = in CheckInputTensorDimensions() local 899 if (recurrent_to_input_weights != nullptr) { in CheckInputTensorDimensions() 900 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->size, 2); in CheckInputTensorDimensions() 901 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->data[0], in CheckInputTensorDimensions() 903 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->data[1], in CheckInputTensorDimensions() [all …]
|
H A D | unidirectional_sequence_lstm.cc | 113 const TfLiteTensor* recurrent_to_input_weights = GetOptionalInputTensor( in PopulateQuantizedLstmParams8x8_16() local 230 recurrent_to_input_weight_scale = recurrent_to_input_weights->params.scale; in PopulateQuantizedLstmParams8x8_16() 454 const TfLiteTensor* recurrent_to_input_weights = GetOptionalInputTensor( in CheckInputTensorDimensions() local 456 if (recurrent_to_input_weights != nullptr) { in CheckInputTensorDimensions() 457 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->size, 2); in CheckInputTensorDimensions() 458 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->data[0], in CheckInputTensorDimensions() 460 TF_LITE_ENSURE_EQ(context, recurrent_to_input_weights->dims->data[1], in CheckInputTensorDimensions() 489 (recurrent_to_input_weights != nullptr)) || in CheckInputTensorDimensions() 491 (recurrent_to_input_weights == nullptr)); in CheckInputTensorDimensions() 743 const TfLiteTensor* recurrent_to_input_weights = GetOptionalInputTensor( in PopulatePrecomputedZPTimesWeightsWithBias() local [all …]
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | qlstm_projection.mod.py | 37 recurrent_to_input_weights = Input("recurrent_to_input_weights", RecurrentWeightsType) variable 85 input_to_cell_weights, input_to_output_weights, recurrent_to_input_weights, 114 recurrent_to_input_weights: [ 173 recurrent_to_input_weights: [],
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | lstm2_state.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 106 recurrent_to_input_weights: [],
|
D | lstm_state.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 107 recurrent_to_input_weights: [
|
D | lstm3_state.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 215 recurrent_to_input_weights: [
|
D | lstm2.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 106 recurrent_to_input_weights: [],
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | lstm2_state2_relaxed.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 107 recurrent_to_input_weights: [],
|
D | lstm_relaxed.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 108 recurrent_to_input_weights: [
|
D | lstm2_state_relaxed.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 107 recurrent_to_input_weights: [],
|
D | lstm_state_relaxed.mod.py | 34 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 71 recurrent_to_input_weights, 108 recurrent_to_input_weights: [
|
/aosp_15_r20/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_float/ |
D | lstm_float.mod.py | 30 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 67 recurrent_to_input_weights, 104 recurrent_to_input_weights: [
|
/aosp_15_r20/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_float/ |
D | lstm_float.mod.py | 30 recurrent_to_input_weights = Input("recurrent_to_input_weights", "TENSOR_FLOAT32", "{%d, %d}" % (n_… variable 67 recurrent_to_input_weights, 104 recurrent_to_input_weights: [
|