/packages/modules/NeuralNetworks/common/ |
D | LegacyUtils.cpp | 159 const uint32_t* inputIndexes, uint32_t outputCount, in OperationValidationContext() argument 163 inputIndexes(inputIndexes), in OperationValidationContext() 185 const uint32_t* inputIndexes; member in android::nn::__anonf2f7c8770111::OperationValidationContext 197 return &operands[inputIndexes[index]]; in getInputOperand() 702 const uint32_t* inputIndexes, uint32_t outputCount, in validateOperation() argument 705 NN_RETURN_IF_ERROR(validateOperandList(inputCount, inputIndexes, in validateOperation() 738 auto inputType = operands[inputIndexes[0]].type; in validateOperation() 766 const auto inputRank = operands[inputIndexes[0]].dimensions.size(); in validateOperation() 771 return validateOperationOperandTypes(operands, inputCount, inputIndexes, in validateOperation() 782 auto inputType = operands[inputIndexes[0]].type; in validateOperation() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/ |
D | cast.example.cpp | 38 .inputIndexes = {0}, in get_test_model_float16_to_float16() 119 .inputIndexes = {2}, in get_test_model_float16_to_float16_all_inputs_as_internal() 166 .inputIndexes = {0}, in get_test_model_float16_to_float32() 247 .inputIndexes = {2}, in get_test_model_float16_to_float32_all_inputs_as_internal() 294 .inputIndexes = {0}, in get_test_model_float16_to_float32_relaxed() 375 .inputIndexes = {2}, in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal() 422 .inputIndexes = {0}, in get_test_model_float16_to_int32() 503 .inputIndexes = {2}, in get_test_model_float16_to_int32_all_inputs_as_internal() 550 .inputIndexes = {0}, in get_test_model_float16_to_quant8() 631 .inputIndexes = {2}, in get_test_model_float16_to_quant8_all_inputs_as_internal() [all …]
|
D | l2_normalization_v1_2.example.cpp | 38 .inputIndexes = {0}, in get_test_model_dim4_axis3() 119 .inputIndexes = {2}, in get_test_model_dim4_axis3_all_inputs_as_internal() 166 .inputIndexes = {0}, in get_test_model_dim4_axis3_relaxed() 247 .inputIndexes = {2}, in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal() 294 .inputIndexes = {0}, in get_test_model_dim4_axis3_float16() 375 .inputIndexes = {2}, in get_test_model_dim4_axis3_float16_all_inputs_as_internal() 422 .inputIndexes = {0}, in get_test_model_dim4_axis3_quant8() 503 .inputIndexes = {2}, in get_test_model_dim4_axis3_quant8_all_inputs_as_internal() 550 .inputIndexes = {0}, in get_test_model_dim3_axis2() 631 .inputIndexes = {2}, in get_test_model_dim3_axis2_all_inputs_as_internal() [all …]
|
D | l2_normalization_axis.example.cpp | 48 .inputIndexes = {0}, in get_test_model_dim4_axis0() 139 .inputIndexes = {3}, in get_test_model_dim4_axis0_all_inputs_as_internal() 196 .inputIndexes = {0}, in get_test_model_dim4_axis0_relaxed() 287 .inputIndexes = {3}, in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model_dim4_axis0_float16() 435 .inputIndexes = {3}, in get_test_model_dim4_axis0_float16_all_inputs_as_internal() 492 .inputIndexes = {0}, in get_test_model_dim4_axis0_quant8() 583 .inputIndexes = {3}, in get_test_model_dim4_axis0_quant8_all_inputs_as_internal() 640 .inputIndexes = {0}, in get_test_model_dim4_axis0_neg() 731 .inputIndexes = {3}, in get_test_model_dim4_axis0_neg_all_inputs_as_internal() [all …]
|
D | expand_dims.example.cpp | 48 .inputIndexes = {0}, in get_test_model() 139 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal() 196 .inputIndexes = {0}, in get_test_model_relaxed() 287 .inputIndexes = {3}, in get_test_model_relaxed_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model_quant8() 435 .inputIndexes = {3}, in get_test_model_quant8_all_inputs_as_internal() 492 .inputIndexes = {0}, in get_test_model_int32() 549 .inputIndexes = {0}, in get_test_model_float16() 640 .inputIndexes = {3}, in get_test_model_float16_all_inputs_as_internal() 697 .inputIndexes = {0}, in get_test_model_2() [all …]
|
D | softmax_v1_2.example.cpp | 48 .inputIndexes = {0}, in get_test_model() 139 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal() 196 .inputIndexes = {0}, in get_test_model_dim1_axis0() 287 .inputIndexes = {3}, in get_test_model_dim1_axis0_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model_dim3_axis2() 435 .inputIndexes = {3}, in get_test_model_dim3_axis2_all_inputs_as_internal() 492 .inputIndexes = {0}, in get_test_model_relaxed() 583 .inputIndexes = {3}, in get_test_model_relaxed_all_inputs_as_internal() 640 .inputIndexes = {0}, in get_test_model_relaxed_dim1_axis0() 731 .inputIndexes = {3}, in get_test_model_relaxed_dim1_axis0_all_inputs_as_internal() [all …]
|
D | log_softmax.example.cpp | 58 .inputIndexes = {0}, in get_test_model() 125 .inputIndexes = {0}, in get_test_model_relaxed() 192 .inputIndexes = {0}, in get_test_model_float16() 259 .inputIndexes = {0}, in get_test_model_2() 326 .inputIndexes = {0}, in get_test_model_relaxed_2() 393 .inputIndexes = {0}, in get_test_model_float16_2() 460 .inputIndexes = {0}, in get_test_model_3() 527 .inputIndexes = {0}, in get_test_model_relaxed_3() 594 .inputIndexes = {0}, in get_test_model_float16_3() 661 .inputIndexes = {0}, in get_test_model_4() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/ |
D | if_simple.example.cpp | 68 .inputIndexes = {0, 3}, in get_test_model_true() 118 .inputIndexes = {0}, in get_test_model_true() 167 .inputIndexes = {0}, in get_test_model_true() 277 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 327 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 376 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 486 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 536 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 585 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 661 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
D | hard_swish.example.cpp | 38 .inputIndexes = {0}, in get_test_model_simple() 119 .inputIndexes = {2}, in get_test_model_simple_all_inputs_as_internal() 166 .inputIndexes = {0}, in get_test_model_simple_float16() 247 .inputIndexes = {2}, in get_test_model_simple_float16_all_inputs_as_internal() 294 .inputIndexes = {0}, in get_test_model_simple_relaxed() 375 .inputIndexes = {2}, in get_test_model_simple_relaxed_all_inputs_as_internal() 422 .inputIndexes = {0}, in get_test_model_simple_quant8() 503 .inputIndexes = {2}, in get_test_model_simple_quant8_all_inputs_as_internal() 550 .inputIndexes = {0}, in get_test_model_simple_quant8_signed() 631 .inputIndexes = {2}, in get_test_model_simple_quant8_signed_all_inputs_as_internal() [all …]
|
D | if_constant.example.cpp | 78 .inputIndexes = {3, 4}, in get_test_model_copy_true() 128 .inputIndexes = {0, 1}, in get_test_model_copy_true() 177 .inputIndexes = {0, 1}, in get_test_model_copy_true() 263 .inputIndexes = {3, 4}, in get_test_model_copy_true_relaxed() 313 .inputIndexes = {0, 1}, in get_test_model_copy_true_relaxed() 362 .inputIndexes = {0, 1}, in get_test_model_copy_true_relaxed() 448 .inputIndexes = {3, 4}, in get_test_model_copy_true_float16() 498 .inputIndexes = {0, 1}, in get_test_model_copy_true_float16() 547 .inputIndexes = {0, 1}, in get_test_model_copy_true_float16() 633 .inputIndexes = {3, 4}, in get_test_model_copy_true_int32() [all …]
|
D | rank.example.cpp | 38 .inputIndexes = {0}, in get_test_model_1d() 119 .inputIndexes = {2}, in get_test_model_1d_all_inputs_as_internal() 166 .inputIndexes = {0}, in get_test_model_1d_int32() 213 .inputIndexes = {0}, in get_test_model_1d_float16() 294 .inputIndexes = {2}, in get_test_model_1d_float16_all_inputs_as_internal() 341 .inputIndexes = {0}, in get_test_model_1d_quant8() 422 .inputIndexes = {2}, in get_test_model_1d_quant8_all_inputs_as_internal() 469 .inputIndexes = {0}, in get_test_model_1d_quant8_signed() 550 .inputIndexes = {2}, in get_test_model_1d_quant8_signed_all_inputs_as_internal() 597 .inputIndexes = {0}, in get_test_model_1d_2() [all …]
|
D | while_infinite_loop.example.cpp | 68 .inputIndexes = {3}, in get_test_model() 108 .inputIndexes = {0, 1}, in get_test_model() 167 .inputIndexes = {0, 1}, in get_test_model() 243 .inputIndexes = {3}, in get_test_model_relaxed() 283 .inputIndexes = {0, 1}, in get_test_model_relaxed() 342 .inputIndexes = {0, 1}, in get_test_model_relaxed() 418 .inputIndexes = {3}, in get_test_model_float16() 458 .inputIndexes = {0, 1}, in get_test_model_float16() 517 .inputIndexes = {0, 1}, in get_test_model_float16() 593 .inputIndexes = {3}, in get_test_model_quant8() [all …]
|
D | cast_identity.example.cpp | 38 .inputIndexes = {0}, in get_test_model_float16() 119 .inputIndexes = {2}, in get_test_model_float16_all_inputs_as_internal() 166 .inputIndexes = {0}, in get_test_model_float32() 247 .inputIndexes = {2}, in get_test_model_float32_all_inputs_as_internal() 294 .inputIndexes = {0}, in get_test_model_float32_relaxed() 375 .inputIndexes = {2}, in get_test_model_float32_relaxed_all_inputs_as_internal() 422 .inputIndexes = {0}, in get_test_model_int32() 469 .inputIndexes = {0}, in get_test_model_bool8() 516 .inputIndexes = {0}, in get_test_model_quant8_asymm() 597 .inputIndexes = {2}, in get_test_model_quant8_asymm_all_inputs_as_internal() [all …]
|
D | l2_normalization_quant8_signed.example.cpp | 48 .inputIndexes = {0}, in get_test_model_dim4_axis0_quant8_signed() 139 .inputIndexes = {3}, in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal() 196 .inputIndexes = {0}, in get_test_model_dim4_axis0_neg_quant8_signed() 287 .inputIndexes = {3}, in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model_dim4_axis1_quant8_signed() 435 .inputIndexes = {3}, in get_test_model_dim4_axis1_quant8_signed_all_inputs_as_internal() 492 .inputIndexes = {0}, in get_test_model_dim4_axis1_neg_quant8_signed() 583 .inputIndexes = {3}, in get_test_model_dim4_axis1_neg_quant8_signed_all_inputs_as_internal() 640 .inputIndexes = {0}, in get_test_model_dim4_axis2_quant8_signed() 731 .inputIndexes = {3}, in get_test_model_dim4_axis2_quant8_signed_all_inputs_as_internal() [all …]
|
D | if_no_value.example.cpp | 78 .inputIndexes = {3, 4}, in get_test_model() 128 .inputIndexes = {0, 1}, in get_test_model() 177 .inputIndexes = {0, 1}, in get_test_model() 263 .inputIndexes = {3, 4}, in get_test_model_relaxed() 313 .inputIndexes = {0, 1}, in get_test_model_relaxed() 362 .inputIndexes = {0, 1}, in get_test_model_relaxed() 448 .inputIndexes = {3, 4}, in get_test_model_float16() 498 .inputIndexes = {0, 1}, in get_test_model_float16() 547 .inputIndexes = {0, 1}, in get_test_model_float16() 633 .inputIndexes = {3, 4}, in get_test_model_int32() [all …]
|
D | fill.example.cpp | 48 .inputIndexes = {0}, in get_test_model_1d() 105 .inputIndexes = {0}, in get_test_model_1d_float16() 162 .inputIndexes = {0}, in get_test_model_1d_int32() 219 .inputIndexes = {0}, in get_test_model_3d() 276 .inputIndexes = {0}, in get_test_model_3d_float16() 333 .inputIndexes = {0}, in get_test_model_3d_int32() 390 .inputIndexes = {0}, in get_test_model_5d() 447 .inputIndexes = {0}, in get_test_model_5d_float16() 504 .inputIndexes = {0}, in get_test_model_5d_int32()
|
D | if_same_branch_model.example.cpp | 68 .inputIndexes = {0, 3}, in get_test_model_true() 118 .inputIndexes = {0}, in get_test_model_true() 228 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 278 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 388 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 438 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 514 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() 564 .inputIndexes = {0}, in get_test_model_true_relaxed() 674 .inputIndexes = {0, 5}, in get_test_model_true_relaxed_all_inputs_as_internal() 724 .inputIndexes = {0}, in get_test_model_true_relaxed_all_inputs_as_internal() [all …]
|
D | pad_quant8_signed.example.cpp | 48 .inputIndexes = {0}, in get_test_model_quant8_signed() 139 .inputIndexes = {3}, in get_test_model_quant8_signed_all_inputs_as_internal() 196 .inputIndexes = {0, 1}, in get_test_model_quant8_signed_all_tensors_as_inputs() 287 .inputIndexes = {1, 3}, in get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model() 435 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal() 492 .inputIndexes = {0, 1}, in get_test_model_all_tensors_as_inputs() 583 .inputIndexes = {1, 3}, in get_test_model_all_tensors_as_inputs_all_inputs_as_internal() 640 .inputIndexes = {0}, in get_test_model_2() 731 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal_2() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3_cts_only/ |
D | if_simple_unknown_dimension.example.cpp | 68 .inputIndexes = {0, 3}, in get_test_model_true() 118 .inputIndexes = {0}, in get_test_model_true() 167 .inputIndexes = {0}, in get_test_model_true() 277 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 327 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 376 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 486 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 536 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 585 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 661 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
D | if_simple_unknown_rank.example.cpp | 68 .inputIndexes = {0, 3}, in get_test_model_true() 118 .inputIndexes = {0}, in get_test_model_true() 167 .inputIndexes = {0}, in get_test_model_true() 277 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 327 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 376 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 486 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 536 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 585 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 661 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_variation/ |
D | stdout.txt.expect | 107 const std::vector<uint32_t> inputIndexes = {0}; 117 .inputIndexes = inputIndexes, 254 const std::vector<uint32_t> inputIndexes = {0}; 264 .inputIndexes = inputIndexes, 402 const std::vector<uint32_t> inputIndexes = {0}; 412 .inputIndexes = inputIndexes, 549 const std::vector<uint32_t> inputIndexes = {0, 1}; 559 .inputIndexes = inputIndexes, 696 const std::vector<uint32_t> inputIndexes = {0, 1}; 706 .inputIndexes = inputIndexes, [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_variation/ |
D | stdout.txt.expect | 107 const std::vector<uint32_t> inputIndexes = {0}; 117 .inputIndexes = inputIndexes, 254 const std::vector<uint32_t> inputIndexes = {0}; 264 .inputIndexes = inputIndexes, 402 const std::vector<uint32_t> inputIndexes = {0}; 412 .inputIndexes = inputIndexes, 549 const std::vector<uint32_t> inputIndexes = {0, 1}; 559 .inputIndexes = inputIndexes, 696 const std::vector<uint32_t> inputIndexes = {0, 1}; 706 .inputIndexes = inputIndexes, [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_naming/ |
D | stdout.txt.expect | 107 const std::vector<uint32_t> inputIndexes = {0}; 117 .inputIndexes = inputIndexes, 254 const std::vector<uint32_t> inputIndexes = {0}; 264 .inputIndexes = inputIndexes, 402 const std::vector<uint32_t> inputIndexes = {0}; 412 .inputIndexes = inputIndexes, 549 const std::vector<uint32_t> inputIndexes = {0, 1}; 559 .inputIndexes = inputIndexes, 696 const std::vector<uint32_t> inputIndexes = {0, 1}; 706 .inputIndexes = inputIndexes, [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_AIDL_V3/ |
D | reverse.example.cpp | 48 .inputIndexes = {0}, in get_test_model_dim1() 139 .inputIndexes = {3}, in get_test_model_dim1_all_inputs_as_internal() 196 .inputIndexes = {0}, in get_test_model_dim1_float16() 287 .inputIndexes = {3}, in get_test_model_dim1_float16_all_inputs_as_internal() 344 .inputIndexes = {0}, in get_test_model_dim1_quant8_asymm() 435 .inputIndexes = {3}, in get_test_model_dim1_quant8_asymm_all_inputs_as_internal() 492 .inputIndexes = {0}, in get_test_model_dim1_quant8_asymm_signed() 583 .inputIndexes = {3}, in get_test_model_dim1_quant8_asymm_signed_all_inputs_as_internal() 640 .inputIndexes = {0}, in get_test_model_dim1_int32() 697 .inputIndexes = {0}, in get_test_model_dim3_axis0() [all …]
|
D | mirror_pad.example.cpp | 58 .inputIndexes = {0}, in get_test_model_one_reflect() 159 .inputIndexes = {4}, in get_test_model_one_reflect_all_inputs_as_internal() 226 .inputIndexes = {0, 1}, in get_test_model_one_reflect_all_tensors_as_inputs() 327 .inputIndexes = {1, 4}, in get_test_model_one_reflect_all_tensors_as_inputs_all_inputs_as_internal() 394 .inputIndexes = {0}, in get_test_model_one_reflect_float16() 495 .inputIndexes = {4}, in get_test_model_one_reflect_float16_all_inputs_as_internal() 562 .inputIndexes = {0, 1}, in get_test_model_one_reflect_float16_all_tensors_as_inputs() 663 .inputIndexes = {1, 4}, in get_test_model_one_reflect_float16_all_tensors_as_inputs_all_inputs_as_internal() 730 .inputIndexes = {0}, in get_test_model_one_reflect_quant8_asymm() 831 .inputIndexes = {4}, in get_test_model_one_reflect_quant8_asymm_all_inputs_as_internal() [all …]
|