Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
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()
DGeneratedTestHarness.cpp52 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
57 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
69 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
86 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
108 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
DValidateModel.cpp83 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
88 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
91 model->operands[index].lifetime = lifetime; in addOperand()
178 size += sizeForBinder(operand.lifetime); in sizeForBinder()
263 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
264 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
421 switch (operand.lifetime) { in getInvalidLifeTimes()
468 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
472 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
484 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp92 .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()
DGeneratedTestHarness.cpp59 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
64 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
76 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
93 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
115 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
DValidateModel.cpp102 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
110 model->operands[index].lifetime = lifetime; in addOperand()
197 size += sizeForBinder(operand.lifetime); in sizeForBinder()
283 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
284 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
446 switch (operand.lifetime) { in getInvalidLifeTimes()
493 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
498 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
510 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp166 .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()
DValidateModel.cpp103 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
108 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
111 model->operands[index].lifetime = lifetime; in addOperand()
224 size += sizeForBinder(operand.lifetime); in sizeForBinder()
322 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
323 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
515 switch (operand.lifetime) { in getInvalidLifeTimes()
562 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
567 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
579 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
DGeneratedTestHarness.cpp85 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
90 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
108 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
126 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
148 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
DCompilationCachingTests.cpp130 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createLargeTestModelImpl()
166 .lifetime = (i == 0 ? TestOperandLifeTime::MODEL_INPUT in createLargeTestModelImpl()
178 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createLargeTestModelImpl()
204 .lifetime = TestOperandLifeTime::MODEL_OUTPUT, in createLargeTestModelImpl()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp110 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in addOperand()
115 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
118 model->main.operands[index].lifetime = lifetime; in addOperand()
231 size += sizeForBinder(operand.lifetime); in sizeForBinder()
339 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
340 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
537 switch (operand.lifetime) { in getInvalidLifeTimes()
586 toString(model.main.operands[operand].lifetime); in mutateOperandLifeTimeTest()
591 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
603 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
DMemoryDomainTests.cpp70 switch (operand.lifetime) { in createDummyData()
92 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createInt32Scalar()
108 .lifetime = TestOperandLifeTime::CONSTANT_COPY}; in createConvModel()
116 .lifetime = TestOperandLifeTime::CONSTANT_COPY}; in createConvModel()
120 output.lifetime = TestOperandLifeTime::SUBGRAPH_OUTPUT; in createConvModel()
163 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT, in createSingleAddModel()
168 output.lifetime = TestOperandLifeTime::SUBGRAPH_OUTPUT; in createSingleAddModel()
281 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT,
290 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT,
299 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT,
[all …]
DGeneratedTestHarness.cpp202 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createSubgraph()
210 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createSubgraph()
218 } else if (op.lifetime == TestOperandLifeTime::SUBGRAPH) { in createSubgraph()
237 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createSubgraph()
DCompilationCachingTests.cpp133 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createLargeTestModelImpl()
169 .lifetime = (i == 0 ? TestOperandLifeTime::MODEL_INPUT in createLargeTestModelImpl()
181 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createLargeTestModelImpl()
207 .lifetime = TestOperandLifeTime::MODEL_OUTPUT, in createLargeTestModelImpl()
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.t210 * . The operand has lifetime CONSTANT_COPY or
213 * . The operand has lifetime MODEL_INPUT or MODEL_OUTPUT. Fully
254 OperandLifeTime lifetime;
258 * If the lifetime is TEMPORARY_VARIABLE, MODEL_INPUT, MODEL_OUTPUT, or
261 * If the lifetime is CONSTANT_COPY:
265 * If the lifetime is CONSTANT_REFERENCE:
312 * with lifetime MODEL_OUTPUT or TEMPORARY_VARIABLE must be
334 * An operand's value must be located here if and only if Operand::lifetime
342 * An operand's value must be located here if and only if Operand::lifetime
394 * with an operand of lifetime CONSTANT_REFERENCE.
Dtypes.hal1618 * . The operand has lifetime CONSTANT_COPY or
1621 * . The operand has lifetime MODEL_INPUT or MODEL_OUTPUT. Fully
1662 OperandLifeTime lifetime;
1666 * If the lifetime is TEMPORARY_VARIABLE, MODEL_INPUT, MODEL_OUTPUT, or
1669 * If the lifetime is CONSTANT_COPY:
1673 * If the lifetime is CONSTANT_REFERENCE:
1720 * with lifetime MODEL_OUTPUT or TEMPORARY_VARIABLE must be
1742 * An operand's value must be located here if and only if Operand::lifetime
1750 * An operand's value must be located here if and only if Operand::lifetime
1802 * with an operand of lifetime CONSTANT_REFERENCE.
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.t274 * . The operand has lifetime CONSTANT_COPY or
277 * . The operand has lifetime SUBGRAPH_INPUT and belongs to the main
321 OperandLifeTime lifetime;
325 * If the lifetime is TEMPORARY_VARIABLE, SUBGRAPH_INPUT, SUBGRAPH_OUTPUT,
328 * If the lifetime is CONSTANT_COPY:
332 * If the lifetime is CONSTANT_REFERENCE:
336 * If the lifetime is SUBGRAPH:
376 * An operand's value must be located here if and only if Operand::lifetime
384 * An operand's value must be located here if and only if Operand::lifetime
436 * with lifetime SUBGRAPH_OUTPUT or TEMPORARY_VARIABLE must be
[all …]
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.t95 * with lifetime MODEL_OUTPUT or TEMPORARY_VARIABLE must be
117 * An operand's value must be located here if and only if Operand::lifetime
125 * An operand's value must be located here if and only if Operand::lifetime
Dtypes.hal417 * with lifetime MODEL_OUTPUT or TEMPORARY_VARIABLE must be
439 * An operand's value must be located here if and only if Operand::lifetime
447 * An operand's value must be located here if and only if Operand::lifetime
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.t222 * . The operand has lifetime CONSTANT_COPY or
225 * . The operand has lifetime MODEL_INPUT. Fully
269 OperandLifeTime lifetime;
273 * If the lifetime is TEMPORARY_VARIABLE, MODEL_INPUT, MODEL_OUTPUT, or
276 * If the lifetime is CONSTANT_COPY:
280 * If the lifetime is CONSTANT_REFERENCE:
330 * with lifetime MODEL_OUTPUT or TEMPORARY_VARIABLE must be
352 * An operand's value must be located here if and only if Operand::lifetime
360 * An operand's value must be located here if and only if Operand::lifetime
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.cpp41 .lifetime = operand.lifetime, in getOperandsInfo()
128 OperandLifeTime lifetime = mOperands[operand].lifetime; in isConstant() local
129 return lifetime == OperandLifeTime::CONSTANT_COPY || in isConstant()
130 lifetime == OperandLifeTime::CONSTANT_REFERENCE; in isConstant()
DHexagonModel.h54 OperandLifeTime lifetime; member
DHexagonUtils.cpp154 switch (operand.lifetime) { in getData()
/hardware/interfaces/drm/1.0/
DIDrmPlugin.hal220 * subscriber. It can securely monitor the lifetime of sessions across
221 * device reboots by periodically persisting the session lifetime
/hardware/interfaces/audio/effect/4.0/
DIEffect.hal260 * Buffers may be set multiple times during effect lifetime.

12