Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/runtime/test/generated/spec_V1_3/
Dif_same_branch_model.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
44 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
157 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
160 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
167 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
170 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
317 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
320 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
[all …]
Dif_simple.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
44 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
206 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
209 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
216 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
219 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
415 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
418 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
[all …]
Dif_constant.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true()
44 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true()
216 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_relaxed()
219 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_relaxed()
226 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_relaxed()
229 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_relaxed()
401 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_copy_true_float16()
404 .type = TestOperandType::SUBGRAPH, in get_test_model_copy_true_float16()
[all …]
Dwhile_infinite_loop.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model()
24 .type = TestOperandType::SUBGRAPH, in get_test_model()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model()
34 .type = TestOperandType::SUBGRAPH, in get_test_model()
196 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed()
199 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed()
206 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed()
209 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed()
371 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_float16()
374 .type = TestOperandType::SUBGRAPH, in get_test_model_float16()
[all …]
Dif_no_value.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model()
34 .type = TestOperandType::SUBGRAPH, in get_test_model()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model()
44 .type = TestOperandType::SUBGRAPH, in get_test_model()
216 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed()
219 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed()
226 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_relaxed()
229 .type = TestOperandType::SUBGRAPH, in get_test_model_relaxed()
401 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_float16()
404 .type = TestOperandType::SUBGRAPH, in get_test_model_float16()
[all …]
Dwhile_sum_of_powers.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
221 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
224 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
231 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
234 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
486 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
489 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
[all …]
Dwhile_fib.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output()
280 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs()
283 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs()
290 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs()
293 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs()
539 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
542 .type = TestOperandType::SUBGRAPH, in get_test_model_n_1_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
[all …]
Dwhile_sum_of_powers_quant8.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
251 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
254 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
261 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
264 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
520 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
523 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
[all …]
Dwhile_sum_of_powers_quant8_signed.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
251 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
254 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
261 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0()
264 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0()
520 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
523 .type = TestOperandType::SUBGRAPH, in get_test_model_n_0_all_inputs_as_internal()
[all …]
/frameworks/ml/nn/runtime/test/generated/spec_V1_3_cts_only/
Dif_simple_unknown_dimension.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
44 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
206 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
209 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
216 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
219 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
415 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
418 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
[all …]
Dif_simple_unknown_rank.example.cpp31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
41 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true()
44 .type = TestOperandType::SUBGRAPH, in get_test_model_true()
206 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
209 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
216 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
219 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_inputs_as_internal()
415 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
418 .type = TestOperandType::SUBGRAPH, in get_test_model_true_all_outputs_as_internal()
[all …]
Dwhile_fib_unknown_rank.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output()
396 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
399 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
406 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
409 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
771 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
774 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
[all …]
Dwhile_fib_unknown_dimension.example.cpp21 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output()
24 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output()
31 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output()
34 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output()
396 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
399 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
406 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
409 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs()
771 .lifetime = TestOperandLifeTime::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
774 .type = TestOperandType::SUBGRAPH, in get_test_model_n_2_unused_output_all_tensors_as_inputs_all_inputs_as_internal()
[all …]
/frameworks/ml/nn/common/
DValidateHal.cpp106 case OperandType::SUBGRAPH: in validateOperandExtraParams()
190 case OperandType::SUBGRAPH: in validateOperands()
235 case OperandType::SUBGRAPH: in validateOperands()
285 case OperandType::SUBGRAPH: in validateOperands()
380 case OperandLifeTime::SUBGRAPH: { in validateOperands()
404 if ((operand.type == OperandType::SUBGRAPH) != in validateOperands()
405 (operand.lifetime == OperandLifeTime::SUBGRAPH)) { in validateOperands()
453 NN_RET_CHECK(modelOperand.type == OperandType::SUBGRAPH) in validateOperations()
604 lifetime == OperandLifeTime::SUBGRAPH; in validateGraph()
676 if (operand.lifetime == OperandLifeTime::SUBGRAPH) { in checkNoReferenceCycles()
[all …]
DGraphDump.cpp190 case OperandLifeTime::SUBGRAPH: in graphDump()
DUtils.cpp2004 if (static_cast<OperandType>(type) != OperandType::SUBGRAPH) { in nonExtensionOperandPerformance()
2064 CHECK(type != V1_3::OperandType::SUBGRAPH) in lookup()
2825 return lifetime != V1_3::OperandLifeTime::SUBGRAPH; in compliantWithV1_0()
DCpuExecutor.cpp722 case OperandLifeTime::SUBGRAPH: { in initializeRunTimeInfo()
/frameworks/ml/nn/tools/test_generator/test_harness/include/
DTestHarness.h75 SUBGRAPH = 15, enumerator
85 SUBGRAPH = 6, enumerator
/frameworks/ml/nn/runtime/test/android_fuzzing/
DFuzzTest.cpp61 case TestOperandLifeTime::SUBGRAPH: { in CreateModel()
DDriverFuzzTest.cpp86 } else if (op.lifetime == TestOperandLifeTime::SUBGRAPH) { in createSubgraph()
/frameworks/ml/nn/runtime/
DModelBuilder.h125 CHECK(operand.lifetime == hal::OperandLifeTime::SUBGRAPH); in getReferencedModel()
DModelBuilder.cpp194 operand.lifetime = OperandLifeTime::SUBGRAPH; in setOperandValueFromModel()
373 NN_RET_CHECK(modelOperand.type == OperandType::SUBGRAPH) in addOperation()
943 if (operand.lifetime == OperandLifeTime::SUBGRAPH) { in updateOperandLocations()
/frameworks/ml/nn/runtime/test/
DGeneratedTestUtils.cpp128 case TestOperandLifeTime::SUBGRAPH: { in createModelFromSubgraph()
DTestPartitioning.cpp443 CHECK(refSubgraphOperand.lifetime == OperandLifeTime::SUBGRAPH); in getSupportedOperationsForSubgraph()
1978 if (operandType == OperandType::SUBGRAPH) { in TEST_F()
2542 if (operandType == OperandType::SUBGRAPH) { in TEST_F()
/frameworks/ml/nn/tools/test_generator/
DREADME.md45 * SubgraphReference, shortcut for a SUBGRAPH parameter
327 #### Specifying SUBGRAPH conversions

12