/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | BasicTests.cpp | 85 .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()
|
D | GeneratedTestHarness.cpp | 52 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()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | BasicTests.cpp | 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()
|
D | GeneratedTestHarness.cpp | 59 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()
|
D | ValidateModel.cpp | 102 .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/aidl/vts/functional/ |
D | BasicTests.cpp | 97 .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()
|
D | ValidateModel.cpp | 114 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in addOperand() 120 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument 122 model->main.operands[index].lifetime = lifetime; in addOperand() 235 size += sizeForBinder(operand.lifetime); in sizeForBinder() 347 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest() 348 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest() 543 switch (operand.lifetime) { in getInvalidLifeTimes() 592 toString(model.main.operands[operand].lifetime); in mutateOperandLifeTimeTest() 597 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest() 613 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest() [all …]
|
D | MemoryDomainTests.cpp | 72 switch (operand.lifetime) { in createDummyData() 94 .lifetime = TestOperandLifeTime::CONSTANT_COPY, in createInt32Scalar() 110 .lifetime = TestOperandLifeTime::CONSTANT_COPY}; in createConvModel() 118 .lifetime = TestOperandLifeTime::CONSTANT_COPY}; in createConvModel() 122 output.lifetime = TestOperandLifeTime::SUBGRAPH_OUTPUT; in createConvModel() 165 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT, in createSingleAddModel() 170 output.lifetime = TestOperandLifeTime::SUBGRAPH_OUTPUT; in createSingleAddModel() 274 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT, 283 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT, 292 .lifetime = TestOperandLifeTime::SUBGRAPH_INPUT, [all …]
|
D | GeneratedTestHarness.cpp | 174 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createSubgraph() 182 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createSubgraph() 190 } else if (op.lifetime == TestOperandLifeTime::SUBGRAPH) { in createSubgraph() 210 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createSubgraph()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | BasicTests.cpp | 107 .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()
|
D | GeneratedTestHarness.cpp | 202 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()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 87 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime) { in unvalidatedConvert() argument 88 return static_cast<Operand::LifeTime>(lifetime); in unvalidatedConvert() 132 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 183 const auto lifetime = argument.hasNoValue ? Request::Argument::LifeTime::NO_VALUE in unvalidatedConvert() local 186 .lifetime = lifetime, in unvalidatedConvert() 273 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() argument 274 if (lifetime == nn::Operand::LifeTime::POINTER) { in unvalidatedConvert() 278 return static_cast<OperandLifeTime>(lifetime); in unvalidatedConvert() 317 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 367 if (requestArgument.lifetime == nn::Request::Argument::LifeTime::POINTER) { in unvalidatedConvert() [all …]
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | BasicTests.cpp | 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()
|
D | ValidateModel.cpp | 103 .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 …]
|
D | GeneratedTestHarness.cpp | 85 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()
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Operand.aidl | 89 OperandLifeTime lifetime = OperandLifeTime.TEMPORARY_VARIABLE;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Operand.aidl | 41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Operand.aidl | 41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | CommonUtils.cpp | 72 if (operand->lifetime != nn::Operand::LifeTime::POINTER) { in copyPointersToSharedMemory() 79 operand->lifetime = nn::Operand::LifeTime::CONSTANT_REFERENCE; in copyPointersToSharedMemory() 244 if (input.lifetime != nn::Request::Argument::LifeTime::POINTER) { in convertRequestFromPointerToShared() 248 input.lifetime = nn::Request::Argument::LifeTime::POOL; in convertRequestFromPointerToShared() 269 if (output.lifetime != nn::Request::Argument::LifeTime::POINTER) { in convertRequestFromPointerToShared() 273 output.lifetime = nn::Request::Argument::LifeTime::POOL; in convertRequestFromPointerToShared()
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Conversions.h | 29 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime); 58 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime);
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Conversions.cpp | 164 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 320 nn::GeneralResult<V1_0::OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() argument 321 return V1_0::utils::unvalidatedConvert(lifetime); in unvalidatedConvert() 464 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 260 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 456 const auto lifetime = argument.hasNoValue ? Request::Argument::LifeTime::NO_VALUE in unvalidatedConvert() local 459 .lifetime = lifetime, in unvalidatedConvert() 863 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 931 if (requestArgument.lifetime == nn::Request::Argument::LifeTime::POINTER) { in unvalidatedConvert() 935 const bool hasNoValue = requestArgument.lifetime == nn::Request::Argument::LifeTime::NO_VALUE; in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 176 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert() 520 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.1/utils/test/ |
D | DeviceTest.cpp | 42 .lifetime = nn::Operand::LifeTime::SUBGRAPH_INPUT}, 45 .lifetime = nn::Operand::LifeTime::SUBGRAPH_OUTPUT}},
|
/hardware/interfaces/neuralnetworks/1.0/utils/test/ |
D | DeviceTest.cpp | 42 .lifetime = nn::Operand::LifeTime::SUBGRAPH_INPUT}, 45 .lifetime = nn::Operand::LifeTime::SUBGRAPH_OUTPUT}},
|