/frameworks/ml/nn/common/ |
D | Utils.cpp | 197 const uint32_t* inputIndexes, uint32_t outputCount, in OperationValidationContext() argument 202 inputIndexes(inputIndexes), in OperationValidationContext() 226 const uint32_t* inputIndexes; member in android::nn::__anon8d54713c0111::OperationValidationContext 243 return &operands[inputIndexes[index]]; in getInputOperand() 446 LOG(INFO) << "inputIndexes" << toString(model.inputIndexes); in logModelToInfo() 456 LOG(INFO) << "inputIndexes" << toString(model.inputIndexes); in logModelToInfo() 466 LOG(INFO) << "inputIndexes" << toString(model.inputIndexes); in logModelToInfo() 477 LOG(INFO) << label << ".inputIndexes" << toString(subgraph.inputIndexes); in logSubgraphToInfo() 848 const uint32_t* inputIndexes, uint32_t outputCount, in validateOperation() argument 857 return validateOperation(opType, inputCount, inputIndexes, outputCount, outputIndexes, operands, in validateOperation() [all …]
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/ |
D | hard_swish.example.cpp | 15 .inputIndexes = {0}, in get_test_model_simple() 62 .inputIndexes = {2}, in get_test_model_simple_all_inputs_as_internal() 143 .inputIndexes = {0}, in get_test_model_simple_float16() 190 .inputIndexes = {2}, in get_test_model_simple_float16_all_inputs_as_internal() 271 .inputIndexes = {0}, in get_test_model_simple_relaxed() 318 .inputIndexes = {2}, in get_test_model_simple_relaxed_all_inputs_as_internal() 399 .inputIndexes = {0}, in get_test_model_simple_quant8() 446 .inputIndexes = {2}, in get_test_model_simple_quant8_all_inputs_as_internal() 527 .inputIndexes = {0}, in get_test_model_simple_quant8_signed() 574 .inputIndexes = {2}, in get_test_model_simple_quant8_signed_all_inputs_as_internal() [all …]
|
D | if_simple.example.cpp | 15 .inputIndexes = {0, 3}, in get_test_model_true() 76 .inputIndexes = {0}, in get_test_model_true() 125 .inputIndexes = {0}, in get_test_model_true() 190 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 285 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 334 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 399 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 494 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 543 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 608 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
D | if_constant.example.cpp | 15 .inputIndexes = {3, 4}, in get_test_model_copy_true() 86 .inputIndexes = {0, 1}, in get_test_model_copy_true() 135 .inputIndexes = {0, 1}, in get_test_model_copy_true() 200 .inputIndexes = {3, 4}, in get_test_model_copy_true_relaxed() 271 .inputIndexes = {0, 1}, in get_test_model_copy_true_relaxed() 320 .inputIndexes = {0, 1}, in get_test_model_copy_true_relaxed() 385 .inputIndexes = {3, 4}, in get_test_model_copy_true_float16() 456 .inputIndexes = {0, 1}, in get_test_model_copy_true_float16() 505 .inputIndexes = {0, 1}, in get_test_model_copy_true_float16() 570 .inputIndexes = {3, 4}, in get_test_model_copy_true_int32() [all …]
|
D | cast_identity.example.cpp | 15 .inputIndexes = {0}, in get_test_model_float16() 62 .inputIndexes = {2}, in get_test_model_float16_all_inputs_as_internal() 143 .inputIndexes = {0}, in get_test_model_float32() 190 .inputIndexes = {2}, in get_test_model_float32_all_inputs_as_internal() 271 .inputIndexes = {0}, in get_test_model_float32_relaxed() 318 .inputIndexes = {2}, in get_test_model_float32_relaxed_all_inputs_as_internal() 399 .inputIndexes = {0}, in get_test_model_int32() 446 .inputIndexes = {0}, in get_test_model_bool8() 493 .inputIndexes = {0}, in get_test_model_quant8_asymm() 540 .inputIndexes = {2}, in get_test_model_quant8_asymm_all_inputs_as_internal() [all …]
|
D | while_infinite_loop.example.cpp | 15 .inputIndexes = {3}, in get_test_model() 76 .inputIndexes = {0, 1}, in get_test_model() 115 .inputIndexes = {0, 1}, in get_test_model() 190 .inputIndexes = {3}, in get_test_model_relaxed() 251 .inputIndexes = {0, 1}, in get_test_model_relaxed() 290 .inputIndexes = {0, 1}, in get_test_model_relaxed() 365 .inputIndexes = {3}, in get_test_model_float16() 426 .inputIndexes = {0, 1}, in get_test_model_float16() 465 .inputIndexes = {0, 1}, in get_test_model_float16() 540 .inputIndexes = {3}, in get_test_model_quant8() [all …]
|
D | rank.example.cpp | 15 .inputIndexes = {0}, in get_test_model_1d() 62 .inputIndexes = {2}, in get_test_model_1d_all_inputs_as_internal() 143 .inputIndexes = {0}, in get_test_model_1d_int32() 190 .inputIndexes = {0}, in get_test_model_1d_float16() 237 .inputIndexes = {2}, in get_test_model_1d_float16_all_inputs_as_internal() 318 .inputIndexes = {0}, in get_test_model_1d_quant8() 365 .inputIndexes = {2}, in get_test_model_1d_quant8_all_inputs_as_internal() 446 .inputIndexes = {0}, in get_test_model_1d_quant8_signed() 493 .inputIndexes = {2}, in get_test_model_1d_quant8_signed_all_inputs_as_internal() 574 .inputIndexes = {0}, in get_test_model_1d_2() [all …]
|
D | fill.example.cpp | 15 .inputIndexes = {0}, in get_test_model_1d() 72 .inputIndexes = {0}, in get_test_model_1d_float16() 129 .inputIndexes = {0}, in get_test_model_1d_int32() 186 .inputIndexes = {0}, in get_test_model_3d() 243 .inputIndexes = {0}, in get_test_model_3d_float16() 300 .inputIndexes = {0}, in get_test_model_3d_int32() 357 .inputIndexes = {0}, in get_test_model_5d() 414 .inputIndexes = {0}, in get_test_model_5d_float16() 471 .inputIndexes = {0}, in get_test_model_5d_int32()
|
D | if_no_value.example.cpp | 15 .inputIndexes = {3, 4}, in get_test_model() 86 .inputIndexes = {0, 1}, in get_test_model() 135 .inputIndexes = {0, 1}, in get_test_model() 200 .inputIndexes = {3, 4}, in get_test_model_relaxed() 271 .inputIndexes = {0, 1}, in get_test_model_relaxed() 320 .inputIndexes = {0, 1}, in get_test_model_relaxed() 385 .inputIndexes = {3, 4}, in get_test_model_float16() 456 .inputIndexes = {0, 1}, in get_test_model_float16() 505 .inputIndexes = {0, 1}, in get_test_model_float16() 570 .inputIndexes = {3, 4}, in get_test_model_int32() [all …]
|
D | l2_normalization_quant8_signed.example.cpp | 15 .inputIndexes = {0}, in get_test_model_dim4_axis0_quant8_signed() 72 .inputIndexes = {3}, in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal() 163 .inputIndexes = {0}, in get_test_model_dim4_axis0_neg_quant8_signed() 220 .inputIndexes = {3}, in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal() 311 .inputIndexes = {0}, in get_test_model_dim4_axis1_quant8_signed() 368 .inputIndexes = {3}, in get_test_model_dim4_axis1_quant8_signed_all_inputs_as_internal() 459 .inputIndexes = {0}, in get_test_model_dim4_axis1_neg_quant8_signed() 516 .inputIndexes = {3}, in get_test_model_dim4_axis1_neg_quant8_signed_all_inputs_as_internal() 607 .inputIndexes = {0}, in get_test_model_dim4_axis2_quant8_signed() 664 .inputIndexes = {3}, in get_test_model_dim4_axis2_quant8_signed_all_inputs_as_internal() [all …]
|
D | if_same_branch_model.example.cpp | 15 .inputIndexes = {0, 3}, in get_test_model_true() 76 .inputIndexes = {0}, in get_test_model_true() 141 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 236 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 301 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 396 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 461 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() 522 .inputIndexes = {0}, in get_test_model_true_relaxed() 587 .inputIndexes = {0, 5}, in get_test_model_true_relaxed_all_inputs_as_internal() 682 .inputIndexes = {0}, in get_test_model_true_relaxed_all_inputs_as_internal() [all …]
|
D | pad_quant8_signed.example.cpp | 15 .inputIndexes = {0}, in get_test_model_quant8_signed() 72 .inputIndexes = {3}, in get_test_model_quant8_signed_all_inputs_as_internal() 163 .inputIndexes = {0, 1}, in get_test_model_quant8_signed_all_tensors_as_inputs() 220 .inputIndexes = {1, 3}, in get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal() 311 .inputIndexes = {0}, in get_test_model() 368 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal() 459 .inputIndexes = {0, 1}, in get_test_model_all_tensors_as_inputs() 516 .inputIndexes = {1, 3}, in get_test_model_all_tensors_as_inputs_all_inputs_as_internal() 607 .inputIndexes = {0}, in get_test_model_2() 664 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal_2() [all …]
|
D | elu.example.cpp | 15 .inputIndexes = {0}, in get_test_model_alpha_one() 72 .inputIndexes = {3}, in get_test_model_alpha_one_all_inputs_as_internal() 163 .inputIndexes = {0}, in get_test_model_alpha_one_float16() 220 .inputIndexes = {3}, in get_test_model_alpha_one_float16_all_inputs_as_internal() 311 .inputIndexes = {0}, in get_test_model_alpha_one_relaxed() 368 .inputIndexes = {3}, in get_test_model_alpha_one_relaxed_all_inputs_as_internal() 459 .inputIndexes = {0}, in get_test_model_alpha01() 516 .inputIndexes = {3}, in get_test_model_alpha01_all_inputs_as_internal() 607 .inputIndexes = {0}, in get_test_model_alpha01_float16() 664 .inputIndexes = {3}, in get_test_model_alpha01_float16_all_inputs_as_internal() [all …]
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_2/ |
D | cast.example.cpp | 15 .inputIndexes = {0}, in get_test_model_float16_to_float16() 62 .inputIndexes = {2}, in get_test_model_float16_to_float16_all_inputs_as_internal() 143 .inputIndexes = {0}, in get_test_model_float16_to_float32() 190 .inputIndexes = {2}, in get_test_model_float16_to_float32_all_inputs_as_internal() 271 .inputIndexes = {0}, in get_test_model_float16_to_float32_relaxed() 318 .inputIndexes = {2}, in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal() 399 .inputIndexes = {0}, in get_test_model_float16_to_int32() 446 .inputIndexes = {2}, in get_test_model_float16_to_int32_all_inputs_as_internal() 527 .inputIndexes = {0}, in get_test_model_float16_to_quant8() 574 .inputIndexes = {2}, in get_test_model_float16_to_quant8_all_inputs_as_internal() [all …]
|
D | l2_normalization_v1_2.example.cpp | 15 .inputIndexes = {0}, in get_test_model_dim4_axis3() 62 .inputIndexes = {2}, in get_test_model_dim4_axis3_all_inputs_as_internal() 143 .inputIndexes = {0}, in get_test_model_dim4_axis3_relaxed() 190 .inputIndexes = {2}, in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal() 271 .inputIndexes = {0}, in get_test_model_dim4_axis3_float16() 318 .inputIndexes = {2}, in get_test_model_dim4_axis3_float16_all_inputs_as_internal() 399 .inputIndexes = {0}, in get_test_model_dim4_axis3_quant8() 446 .inputIndexes = {2}, in get_test_model_dim4_axis3_quant8_all_inputs_as_internal() 527 .inputIndexes = {0}, in get_test_model_dim3_axis2() 574 .inputIndexes = {2}, in get_test_model_dim3_axis2_all_inputs_as_internal() [all …]
|
D | l2_normalization_axis.example.cpp | 15 .inputIndexes = {0}, in get_test_model_dim4_axis0() 72 .inputIndexes = {3}, in get_test_model_dim4_axis0_all_inputs_as_internal() 163 .inputIndexes = {0}, in get_test_model_dim4_axis0_relaxed() 220 .inputIndexes = {3}, in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal() 311 .inputIndexes = {0}, in get_test_model_dim4_axis0_float16() 368 .inputIndexes = {3}, in get_test_model_dim4_axis0_float16_all_inputs_as_internal() 459 .inputIndexes = {0}, in get_test_model_dim4_axis0_quant8() 516 .inputIndexes = {3}, in get_test_model_dim4_axis0_quant8_all_inputs_as_internal() 607 .inputIndexes = {0}, in get_test_model_dim4_axis0_neg() 664 .inputIndexes = {3}, in get_test_model_dim4_axis0_neg_all_inputs_as_internal() [all …]
|
D | expand_dims.example.cpp | 15 .inputIndexes = {0}, in get_test_model() 72 .inputIndexes = {3}, in get_test_model_all_inputs_as_internal() 163 .inputIndexes = {0}, in get_test_model_relaxed() 220 .inputIndexes = {3}, in get_test_model_relaxed_all_inputs_as_internal() 311 .inputIndexes = {0}, in get_test_model_quant8() 368 .inputIndexes = {3}, in get_test_model_quant8_all_inputs_as_internal() 459 .inputIndexes = {0}, in get_test_model_int32() 516 .inputIndexes = {0}, in get_test_model_float16() 573 .inputIndexes = {3}, in get_test_model_float16_all_inputs_as_internal() 664 .inputIndexes = {0}, in get_test_model_2() [all …]
|
D | log_softmax.example.cpp | 15 .inputIndexes = {0}, in get_test_model() 82 .inputIndexes = {0}, in get_test_model_relaxed() 149 .inputIndexes = {0}, in get_test_model_float16() 216 .inputIndexes = {0}, in get_test_model_2() 283 .inputIndexes = {0}, in get_test_model_relaxed_2() 350 .inputIndexes = {0}, in get_test_model_float16_2() 417 .inputIndexes = {0}, in get_test_model_3() 484 .inputIndexes = {0}, in get_test_model_relaxed_3() 551 .inputIndexes = {0}, in get_test_model_float16_3() 618 .inputIndexes = {0}, in get_test_model_4() [all …]
|
D | neg.example.cpp | 15 .inputIndexes = {0}, in get_test_model() 62 .inputIndexes = {0}, in get_test_model_relaxed() 109 .inputIndexes = {0}, in get_test_model_float16() 156 .inputIndexes = {0}, in get_test_model_int32()
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_3_cts_only/ |
D | if_simple_unknown_dimension.example.cpp | 15 .inputIndexes = {0, 3}, in get_test_model_true() 76 .inputIndexes = {0}, in get_test_model_true() 125 .inputIndexes = {0}, in get_test_model_true() 190 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 285 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 334 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 399 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 494 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 543 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 608 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
D | if_simple_unknown_rank.example.cpp | 15 .inputIndexes = {0, 3}, in get_test_model_true() 76 .inputIndexes = {0}, in get_test_model_true() 125 .inputIndexes = {0}, in get_test_model_true() 190 .inputIndexes = {0, 5}, in get_test_model_true_all_inputs_as_internal() 285 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 334 .inputIndexes = {0}, in get_test_model_true_all_inputs_as_internal() 399 .inputIndexes = {0, 3}, in get_test_model_true_all_outputs_as_internal() 494 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 543 .inputIndexes = {0}, in get_test_model_true_all_outputs_as_internal() 608 .inputIndexes = {0, 3}, in get_test_model_true_relaxed() [all …]
|
/frameworks/ml/nn/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 …]
|
/frameworks/ml/nn/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 …]
|
/frameworks/ml/nn/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 …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | stdout.txt.expect | 62 const std::vector<uint32_t> inputIndexes = {0}; 72 .inputIndexes = inputIndexes, 185 const std::vector<uint32_t> inputIndexes = {0}; 195 .inputIndexes = inputIndexes, 308 const std::vector<uint32_t> inputIndexes = {0}; 318 .inputIndexes = inputIndexes,
|