/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/ |
D | if_same_branch_model.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 33 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 149 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 154 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 159 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 164 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 309 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() 314 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() [all …]
|
D | if_simple.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 33 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 198 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 203 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 208 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 213 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 407 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() 412 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() [all …]
|
D | if_constant.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true() 33 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true() 208 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_relaxed() 213 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_relaxed() 218 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_relaxed() 223 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_relaxed() 393 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_float16() 398 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_float16() [all …]
|
D | while_infinite_loop.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model() 23 .type = TestOperandType::SUBGRAPH, in get_test_model() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model() 188 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed() 193 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed() 198 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed() 203 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed() 363 .type = TestOperandType::SUBGRAPH, in get_test_model_float16() 368 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_float16() [all …]
|
D | if_no_value.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model() 33 .type = TestOperandType::SUBGRAPH, in get_test_model() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model() 208 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed() 213 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed() 218 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed() 223 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed() 393 .type = TestOperandType::SUBGRAPH, in get_test_model_float16() 398 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_float16() [all …]
|
D | while_sum_of_powers.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 212 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 217 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 222 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 227 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 478 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() 483 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() [all …]
|
D | while_fib.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output() 272 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs() 277 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs() 282 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs() 287 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs() 531 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs_all_inputs_as_internal() 536 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs_all_inputs_as_internal() [all …]
|
D | while_sum_of_powers_quant8.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 242 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 247 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 252 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 257 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 512 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() 517 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() [all …]
|
D | while_sum_of_powers_quant8_signed.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 242 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 247 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 252 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0() 257 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0() 512 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() 517 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3_cts_only/ |
D | if_simple_unknown_dimension.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 33 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 198 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 203 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 208 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 213 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 407 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() 412 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() [all …]
|
D | if_simple_unknown_rank.example.cpp | 23 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 33 .type = TestOperandType::SUBGRAPH, in get_test_model_true() 38 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true() 198 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 203 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 208 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 213 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal() 407 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() 412 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal() [all …]
|
D | while_fib_unknown_rank.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output() 388 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 393 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 398 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 403 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 763 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal() 768 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal() [all …]
|
D | while_fib_unknown_dimension.example.cpp | 13 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output() 18 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output() 23 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output() 28 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output() 388 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 393 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 398 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 403 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs() 763 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal() 768 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal() [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | ValidateHal.cpp | 106 case V1_3::OperandType::SUBGRAPH: in validateOperandExtraParams() 191 case V1_3::OperandType::SUBGRAPH: in validateOperands() 237 case V1_3::OperandType::SUBGRAPH: in validateOperands() 287 case V1_3::OperandType::SUBGRAPH: in validateOperands() 382 case V1_3::OperandLifeTime::SUBGRAPH: { in validateOperands() 406 if ((operand.type == V1_3::OperandType::SUBGRAPH) != in validateOperands() 407 (operand.lifetime == V1_3::OperandLifeTime::SUBGRAPH)) { in validateOperands() 457 NN_RET_CHECK(modelOperand.type == OperandType::SUBGRAPH) in validateOperations() 611 lifetime == V1_3::OperandLifeTime::SUBGRAPH; in validateGraph() 683 if (operand.lifetime == V1_3::OperandLifeTime::SUBGRAPH) { in checkNoReferenceCycles() [all …]
|
D | ModelUtils.cpp | 104 if (operand.lifetime == Operand::LifeTime::SUBGRAPH) { in identifyUsedSubgraphs() 185 case Operand::LifeTime::SUBGRAPH: { in fixOperandDataLocation()
|
D | GraphDump.cpp | 204 case Operand::LifeTime::SUBGRAPH: in graphDump()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | Assertions.cpp | 64 COMPARE_ENUMS(SUBGRAPH); 186 COMPARE_ENUMS(SUBGRAPH);
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | OperandTypes.h | 164 SUBGRAPH = 15, enumerator
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 69 if (operand.lifetime != TestOperandLifeTime::SUBGRAPH) continue; in areSubgraphsAcyclic() 108 case TestOperandLifeTime::SUBGRAPH: { in CreateSubgraph()
|
D | StaticAssert.cpp | 46 static_assert(static_cast<TestOperandType>(SUBGRAPH_OPERAND) == TestOperandType::SUBGRAPH); 192 static_assert(static_cast<TestOperandLifeTime>(SUBGRAPH_LIFETIME) == TestOperandLifeTime::SUBGRAPH);
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | Validation.cpp | 164 case OperandType::SUBGRAPH: in validateOperandType() 175 NN_RET_CHECK_EQ((operand.type == OperandType::SUBGRAPH), in validateOperandLifeTime() 176 (operand.lifetime == Operand::LifeTime::SUBGRAPH)) in validateOperandLifeTime() 188 case Operand::LifeTime::SUBGRAPH: in validateOperandLifeTime() 396 case Operand::LifeTime::SUBGRAPH: { in validateOperandDataLocation() 431 case OperandType::SUBGRAPH: in validateOperandDimensions() 484 case OperandType::SUBGRAPH: in validateOperandScale() 529 case OperandType::SUBGRAPH: in validateOperandZeroPoint() 583 case OperandType::SUBGRAPH: in validateOperandExtraParams() 949 if (operand.lifetime == Operand::LifeTime::SUBGRAPH) { in checkNoReferenceCycles() [all …]
|
D | TypeUtils.cpp | 128 case OperandType::SUBGRAPH: in isNonExtensionScalar() 150 case OperandType::SUBGRAPH: in getNonExtensionSize() 391 case OperandType::SUBGRAPH: in operator <<() 418 case Operand::LifeTime::SUBGRAPH: in operator <<()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/ |
D | TestHarness.h | 75 SUBGRAPH = 15, enumerator 85 SUBGRAPH = 6, enumerator
|
/packages/modules/NeuralNetworks/runtime/ |
D | ModelBuilder.h | 127 CHECK(operand.lifetime == Operand::LifeTime::SUBGRAPH); in getReferencedModel()
|
D | ModelBuilder.cpp | 124 mHasControlFlow |= (operandType == OperandType::SUBGRAPH); in addOperand() 211 operand.lifetime = Operand::LifeTime::SUBGRAPH; in setOperandValueFromModel() 974 if (operand.lifetime == Operand::LifeTime::SUBGRAPH) { in updateOperandLocations()
|