Home
last modified time | relevance | path

Searched refs:SUBGRAPH (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/
Dif_same_branch_model.example.cpp23 .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 …]
Dif_simple.example.cpp23 .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 …]
Dif_constant.example.cpp23 .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 …]
Dwhile_infinite_loop.example.cpp13 .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 …]
Dif_no_value.example.cpp23 .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 …]
Dwhile_sum_of_powers.example.cpp13 .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 …]
Dwhile_fib.example.cpp13 .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 …]
Dwhile_sum_of_powers_quant8.example.cpp13 .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 …]
Dwhile_sum_of_powers_quant8_signed.example.cpp13 .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/
Dif_simple_unknown_dimension.example.cpp23 .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 …]
Dif_simple_unknown_rank.example.cpp23 .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 …]
Dwhile_fib_unknown_rank.example.cpp13 .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 …]
Dwhile_fib_unknown_dimension.example.cpp13 .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/
DValidateHal.cpp106 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 …]
DModelUtils.cpp104 if (operand.lifetime == Operand::LifeTime::SUBGRAPH) { in identifyUsedSubgraphs()
185 case Operand::LifeTime::SUBGRAPH: { in fixOperandDataLocation()
DGraphDump.cpp204 case Operand::LifeTime::SUBGRAPH: in graphDump()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DAssertions.cpp64 COMPARE_ENUMS(SUBGRAPH);
186 COMPARE_ENUMS(SUBGRAPH);
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DOperandTypes.h164 SUBGRAPH = 15, enumerator
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp69 if (operand.lifetime != TestOperandLifeTime::SUBGRAPH) continue; in areSubgraphsAcyclic()
108 case TestOperandLifeTime::SUBGRAPH: { in CreateSubgraph()
DStaticAssert.cpp46 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/
DValidation.cpp164 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 …]
DTypeUtils.cpp128 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/
DTestHarness.h75 SUBGRAPH = 15, enumerator
85 SUBGRAPH = 6, enumerator
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.h127 CHECK(operand.lifetime == Operand::LifeTime::SUBGRAPH); in getReferencedModel()
DModelBuilder.cpp124 mHasControlFlow |= (operandType == OperandType::SUBGRAPH); in addOperand()
211 operand.lifetime = Operand::LifeTime::SUBGRAPH; in setOperandValueFromModel()
974 if (operand.lifetime == Operand::LifeTime::SUBGRAPH) { in updateOperandLocations()

12