Home
last modified time | relevance | path

Searched refs:OperandLifeTime (Results 1 – 25 of 60) sorted by relevance

123

/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_variation/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::CONSTANT_COPY,
85 .lifetime = OperandLifeTime::CONSTANT_COPY,
178 .lifetime = OperandLifeTime::CONSTANT_COPY,
187 .lifetime = OperandLifeTime::CONSTANT_COPY,
[all …]
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_variation/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::CONSTANT_COPY,
85 .lifetime = OperandLifeTime::CONSTANT_COPY,
178 .lifetime = OperandLifeTime::CONSTANT_COPY,
187 .lifetime = OperandLifeTime::CONSTANT_COPY,
[all …]
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_naming/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::CONSTANT_COPY,
85 .lifetime = OperandLifeTime::CONSTANT_COPY,
178 .lifetime = OperandLifeTime::CONSTANT_COPY,
187 .lifetime = OperandLifeTime::CONSTANT_COPY,
[all …]
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_float/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
40 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
49 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
58 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
67 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
76 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
85 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
94 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
103 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
[all …]
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_internal/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
31 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
85 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
112 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
121 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
130 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
166 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/
H A DValidateModel.cpp420 std::vector<OperandLifeTime> ret; in getInvalidLifeTimes()
422 case OperandLifeTime::MODEL_OUTPUT: in getInvalidLifeTimes()
423 case OperandLifeTime::TEMPORARY_VARIABLE: in getInvalidLifeTimes()
429 case OperandLifeTime::CONSTANT_COPY: in getInvalidLifeTimes()
431 case OperandLifeTime::MODEL_INPUT: in getInvalidLifeTimes()
437 case OperandLifeTime::NO_VALUE: in getInvalidLifeTimes()
513 case OperandLifeTime::CONSTANT_COPY: in getInputOutputLifeTime()
515 return OperandLifeTime::MODEL_INPUT; in getInputOutputLifeTime()
516 case OperandLifeTime::MODEL_INPUT: { in getInputOutputLifeTime()
525 case OperandLifeTime::MODEL_OUTPUT: in getInputOutputLifeTime()
[all …]
H A DTestAssertions.cpp35 CHECK_TEST_ENUM(OperandLifeTime, TEMPORARY_VARIABLE);
36 CHECK_TEST_ENUM(OperandLifeTime, MODEL_INPUT);
37 CHECK_TEST_ENUM(OperandLifeTime, MODEL_OUTPUT);
38 CHECK_TEST_ENUM(OperandLifeTime, CONSTANT_COPY);
39 CHECK_TEST_ENUM(OperandLifeTime, CONSTANT_REFERENCE);
40 CHECK_TEST_ENUM(OperandLifeTime, NO_VALUE);
H A DBasicTests.cpp85 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
95 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
105 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
115 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
125 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
135 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
/aosp12/hardware/interfaces/neuralnetworks/1.1/vts/functional/
H A DValidateModel.cpp35 using V1_0::OperandLifeTime;
445 std::vector<OperandLifeTime> ret; in getInvalidLifeTimes()
447 case OperandLifeTime::MODEL_OUTPUT: in getInvalidLifeTimes()
454 case OperandLifeTime::CONSTANT_COPY: in getInvalidLifeTimes()
456 case OperandLifeTime::MODEL_INPUT: in getInvalidLifeTimes()
462 case OperandLifeTime::NO_VALUE: in getInvalidLifeTimes()
539 case OperandLifeTime::CONSTANT_COPY: in getInputOutputLifeTime()
541 return OperandLifeTime::MODEL_INPUT; in getInputOutputLifeTime()
542 case OperandLifeTime::MODEL_INPUT: { in getInputOutputLifeTime()
551 case OperandLifeTime::MODEL_OUTPUT: in getInputOutputLifeTime()
[all …]
H A DBasicTests.cpp28 using V1_0::OperandLifeTime;
92 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
102 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
112 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
122 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
132 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
142 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A DValidateModel.cpp35 using V1_0::OperandLifeTime;
514 std::vector<OperandLifeTime> ret; in getInvalidLifeTimes()
516 case OperandLifeTime::MODEL_OUTPUT: in getInvalidLifeTimes()
523 case OperandLifeTime::CONSTANT_COPY: in getInvalidLifeTimes()
525 case OperandLifeTime::MODEL_INPUT: in getInvalidLifeTimes()
531 case OperandLifeTime::NO_VALUE: in getInvalidLifeTimes()
608 case OperandLifeTime::CONSTANT_COPY: in getInputOutputLifeTime()
610 return OperandLifeTime::MODEL_INPUT; in getInputOutputLifeTime()
611 case OperandLifeTime::MODEL_INPUT: { in getInputOutputLifeTime()
620 case OperandLifeTime::MODEL_OUTPUT: in getInputOutputLifeTime()
[all …]
H A DBasicTests.cpp26 using V1_0::OperandLifeTime;
166 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
176 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
186 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
196 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
206 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
216 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DValidateModel.cpp536 std::vector<OperandLifeTime> ret; in getInvalidLifeTimes()
538 case OperandLifeTime::SUBGRAPH_OUTPUT: in getInvalidLifeTimes()
545 case OperandLifeTime::CONSTANT_COPY: in getInvalidLifeTimes()
547 case OperandLifeTime::SUBGRAPH_INPUT: in getInvalidLifeTimes()
553 case OperandLifeTime::NO_VALUE: in getInvalidLifeTimes()
560 case OperandLifeTime::SUBGRAPH: in getInvalidLifeTimes()
632 case OperandLifeTime::CONSTANT_COPY: in getInputOutputLifeTime()
635 case OperandLifeTime::SUBGRAPH_INPUT: { in getInputOutputLifeTime()
644 case OperandLifeTime::SUBGRAPH_OUTPUT: in getInputOutputLifeTime()
648 case OperandLifeTime::NO_VALUE: in getInputOutputLifeTime()
[all …]
H A DBasicTests.cpp107 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
117 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
127 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
137 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
147 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
157 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT, in TEST_P()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DValidateModel.cpp542 std::vector<OperandLifeTime> ret; in getInvalidLifeTimes()
544 case OperandLifeTime::SUBGRAPH_OUTPUT: in getInvalidLifeTimes()
551 case OperandLifeTime::CONSTANT_COPY: in getInvalidLifeTimes()
552 case OperandLifeTime::CONSTANT_POOL: in getInvalidLifeTimes()
553 case OperandLifeTime::SUBGRAPH_INPUT: in getInvalidLifeTimes()
559 case OperandLifeTime::NO_VALUE: in getInvalidLifeTimes()
566 case OperandLifeTime::SUBGRAPH: in getInvalidLifeTimes()
642 case OperandLifeTime::CONSTANT_COPY: in getInputOutputLifeTime()
643 case OperandLifeTime::CONSTANT_POOL: in getInputOutputLifeTime()
658 case OperandLifeTime::NO_VALUE: in getInputOutputLifeTime()
[all …]
H A DBasicTests.cpp97 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
106 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
115 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
124 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
133 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
142 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT, in TEST_P()
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_quant8/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
40 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::CONSTANT_COPY,
85 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_float/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_quant8/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::CONSTANT_COPY,
58 .lifetime = OperandLifeTime::CONSTANT_COPY,
67 .lifetime = OperandLifeTime::CONSTANT_COPY,
76 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_parameter/
H A Dstdout.txt.expect22 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
31 .lifetime = OperandLifeTime::CONSTANT_COPY,
40 .lifetime = OperandLifeTime::CONSTANT_COPY,
49 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
145 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
154 .lifetime = OperandLifeTime::CONSTANT_COPY,
163 .lifetime = OperandLifeTime::CONSTANT_COPY,
172 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT,
268 .lifetime = OperandLifeTime::SUBGRAPH_INPUT,
277 .lifetime = OperandLifeTime::CONSTANT_COPY,
[all …]
/aosp12/packages/modules/NeuralNetworks/common/
H A DValidateHal.cpp348 case V1_3::OperandLifeTime::CONSTANT_COPY: in validateOperands()
364 case V1_3::OperandLifeTime::CONSTANT_REFERENCE: in validateOperands()
369 case V1_3::OperandLifeTime::TEMPORARY_VARIABLE: in validateOperands()
370 case V1_3::OperandLifeTime::SUBGRAPH_INPUT: in validateOperands()
371 case V1_3::OperandLifeTime::SUBGRAPH_OUTPUT: in validateOperands()
372 case V1_3::OperandLifeTime::NO_VALUE: in validateOperands()
381 case V1_3::OperandLifeTime::SUBGRAPH: { in validateOperands()
406 (operand.lifetime == V1_3::OperandLifeTime::SUBGRAPH)) { in validateOperands()
415 operand.lifetime == V1_3::OperandLifeTime::CONSTANT_COPY) { in validateOperands()
557 V1_3::OperandLifeTime lifetime) { in validateModelInputOutputs()
[all …]
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/
H A DShimConverter.cpp130 case OperandLifeTime::CONSTANT_COPY: { in convertSubgraphFromHAL()
146 case OperandLifeTime::CONSTANT_POOL: { in convertSubgraphFromHAL()
152 case OperandLifeTime::SUBGRAPH: { in convertSubgraphFromHAL()
166 case OperandLifeTime::NO_VALUE: { in convertSubgraphFromHAL()
170 case OperandLifeTime::TEMPORARY_VARIABLE: in convertSubgraphFromHAL()
171 case OperandLifeTime::SUBGRAPH_OUTPUT: in convertSubgraphFromHAL()
172 case OperandLifeTime::SUBGRAPH_INPUT: { in convertSubgraphFromHAL()
259 if (operand.lifetime == OperandLifeTime::CONSTANT_COPY) { in needsCopiedOperandValues()
278 operand.lifetime != OperandLifeTime::SUBGRAPH_OUTPUT; in isValid()
320 if (operand.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in isValid()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
H A DOperand.aidl21 import android.hardware.neuralnetworks.OperandLifeTime;
89 OperandLifeTime lifetime = OperandLifeTime.TEMPORARY_VARIABLE;
/aosp12/packages/modules/NeuralNetworks/common/include/
H A DLegacyHalUtils.h309 bool compliantWithV1_0(V1_0::OperandLifeTime lifetime);
310 bool compliantWithV1_0(V1_3::OperandLifeTime lifetime);
311 bool compliantWithV1_3(V1_0::OperandLifeTime lifetime);
312 bool compliantWithV1_3(V1_3::OperandLifeTime lifetime);
314 V1_0::OperandLifeTime convertToV1_0(V1_0::OperandLifeTime lifetime);
315 V1_0::OperandLifeTime convertToV1_0(V1_3::OperandLifeTime lifetime);
316 V1_3::OperandLifeTime convertToV1_3(V1_0::OperandLifeTime lifetime);
317 V1_3::OperandLifeTime convertToV1_3(V1_3::OperandLifeTime lifetime);
350 Operand::LifeTime uncheckedConvert(V1_3::OperandLifeTime lifetime);
392 V1_3::OperandLifeTime convertToV1_3(Operand::LifeTime lifetime);
/aosp12/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
H A DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…

123