/packages/modules/NeuralNetworks/common/ |
D | GraphDump.cpp | 134 if (opnd.lifetime == Operand::LifeTime::CONSTANT_COPY) { in tryValueDump() 136 } else if (opnd.lifetime == Operand::LifeTime::POINTER) { in tryValueDump() 189 case Operand::LifeTime::CONSTANT_COPY: in graphDump() 192 case Operand::LifeTime::CONSTANT_REFERENCE: in graphDump() 195 case Operand::LifeTime::SUBGRAPH_INPUT: in graphDump() 198 case Operand::LifeTime::SUBGRAPH_OUTPUT: in graphDump() 201 case Operand::LifeTime::NO_VALUE: in graphDump() 204 case Operand::LifeTime::SUBGRAPH: in graphDump() 207 case Operand::LifeTime::POINTER: in graphDump() 210 case Operand::LifeTime::TEMPORARY_VARIABLE: in graphDump()
|
D | MetaModel.cpp | 153 CHECK(operand.lifetime == Operand::LifeTime::SUBGRAPH_INPUT || in getIndex() 154 operand.lifetime == Operand::LifeTime::SUBGRAPH_OUTPUT || in getIndex() 155 operand.lifetime == Operand::LifeTime::TEMPORARY_VARIABLE); in getIndex() 166 operand.lifetime = Operand::LifeTime::SUBGRAPH_INPUT; in getIndex() 316 const auto subgraphOutputLifetime = Operand::LifeTime::SUBGRAPH_OUTPUT; in processOperations() 385 return origOperands[opndIdx].lifetime == Operand::LifeTime::SUBGRAPH; in makeSlice() 422 case Operand::LifeTime::CONSTANT_COPY: in makeSlice() 423 case Operand::LifeTime::CONSTANT_REFERENCE: in makeSlice() 424 case Operand::LifeTime::POINTER: in makeSlice() 425 case Operand::LifeTime::NO_VALUE: { in makeSlice()
|
D | CpuExecutor.cpp | 171 if (info->lifetime == Operand::LifeTime::SUBGRAPH_OUTPUT) { in setInfoAndAllocateIfNeeded() 216 if (info->buffer == nullptr && (info->lifetime == Operand::LifeTime::TEMPORARY_VARIABLE || in setInfoAndAllocateIfNeeded() 217 info->lifetime == Operand::LifeTime::SUBGRAPH_OUTPUT)) { in setInfoAndAllocateIfNeeded() 249 return getInputInfo(index)->lifetime == Operand::LifeTime::NO_VALUE; in isOmittedInput() 253 return getOutputInfo(index)->lifetime == Operand::LifeTime::NO_VALUE; in isOmittedOutput() 441 to.lifetime = Operand::LifeTime::TEMPORARY_VARIABLE; in convertToNhwc() 548 if (info.lifetime == Operand::LifeTime::TEMPORARY_VARIABLE && info.numberOfUsesLeft == 0 && in freeUnusedSubgraphOperands() 627 case Operand::LifeTime::TEMPORARY_VARIABLE: in initializeRunTimeInfo() 631 case Operand::LifeTime::CONSTANT_COPY: in initializeRunTimeInfo() 635 case Operand::LifeTime::CONSTANT_REFERENCE: { in initializeRunTimeInfo() [all …]
|
D | TypeUtils.cpp | 328 std::ostream& operator<<(std::ostream& os, const Operand::LifeTime& lifetime) { in operator <<() 330 case Operand::LifeTime::TEMPORARY_VARIABLE: in operator <<() 332 case Operand::LifeTime::SUBGRAPH_INPUT: in operator <<() 334 case Operand::LifeTime::SUBGRAPH_OUTPUT: in operator <<() 336 case Operand::LifeTime::CONSTANT_COPY: in operator <<() 338 case Operand::LifeTime::CONSTANT_REFERENCE: in operator <<() 340 case Operand::LifeTime::NO_VALUE: in operator <<() 342 case Operand::LifeTime::SUBGRAPH: in operator <<() 344 case Operand::LifeTime::POINTER: in operator <<() 565 std::ostream& operator<<(std::ostream& os, const Request::Argument::LifeTime& lifetime) { in operator <<() [all …]
|
D | Validation.cpp | 207 (operand.lifetime == Operand::LifeTime::SUBGRAPH)) in validateOperandLifeTime() 211 case Operand::LifeTime::TEMPORARY_VARIABLE: in validateOperandLifeTime() 212 case Operand::LifeTime::SUBGRAPH_INPUT: in validateOperandLifeTime() 213 case Operand::LifeTime::SUBGRAPH_OUTPUT: in validateOperandLifeTime() 214 case Operand::LifeTime::CONSTANT_COPY: in validateOperandLifeTime() 215 case Operand::LifeTime::CONSTANT_REFERENCE: in validateOperandLifeTime() 216 case Operand::LifeTime::NO_VALUE: in validateOperandLifeTime() 217 case Operand::LifeTime::POINTER: in validateOperandLifeTime() 219 case Operand::LifeTime::SUBGRAPH: in validateOperandLifeTime() 394 case Operand::LifeTime::CONSTANT_COPY: in validateOperandDataLocation() [all …]
|
D | HalBufferTracker.cpp | 68 if (request.inputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest() 91 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
|
D | AidlBufferTracker.cpp | 68 if (request.inputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest() 91 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
|
D | BufferTracker.cpp | 68 if (request.inputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest() 90 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
|
D | LegacyHalUtils.cpp | 1516 Operand::LifeTime uncheckedConvert(V1_3::OperandLifeTime lifetime) { in uncheckedConvert() 1640 V1_3::OperandLifeTime convertToV1_3(Operand::LifeTime lifetime) { in convertToV1_3()
|
/packages/modules/NeuralNetworks/runtime/ |
D | ModelBuilder.cpp | 102 .lifetime = Operand::LifeTime::TEMPORARY_VARIABLE, in addOperand() 137 operand.lifetime = Operand::LifeTime::NO_VALUE; in setOperandValue() 165 operand.lifetime = Operand::LifeTime::CONSTANT_COPY; in setOperandValue() 172 operand.lifetime = Operand::LifeTime::CONSTANT_REFERENCE; in setOperandValue() 206 operand.lifetime = Operand::LifeTime::SUBGRAPH; in setOperandValueFromModel() 293 CHECK_EQ(operand.lifetime, Operand::LifeTime::CONSTANT_REFERENCE); in copyLargeValuesToSharedMemory() 349 operand.lifetime = Operand::LifeTime::CONSTANT_REFERENCE; in setOperandValueFromMemory() 437 const uint32_t* indexList, Operand::LifeTime lifetime) -> bool { in identifyInputsAndOutputs() 451 if (operand.lifetime != Operand::LifeTime::TEMPORARY_VARIABLE) { in identifyInputsAndOutputs() 463 if (!setArguments(&mInputIndexes, inputCount, inputs, Operand::LifeTime::SUBGRAPH_INPUT) || in identifyInputsAndOutputs() [all …]
|
D | ModelArgumentInfo.cpp | 129 Request::Argument arg = {.lifetime = Request::Argument::LifeTime::POINTER, in createRequestArgument() 136 return {.lifetime = Request::Argument::LifeTime::POOL, in createRequestArgument() 140 return {.lifetime = Request::Argument::LifeTime::NO_VALUE}; in createRequestArgument() 159 ioInfos[i] = {.lifetime = Request::Argument::LifeTime::POOL, in createRequestArguments()
|
D | ExecutionPlan.cpp | 153 if (lifetime == Operand::LifeTime::TEMPORARY_VARIABLE || in OperandTracker() 154 lifetime == Operand::LifeTime::SUBGRAPH_OUTPUT) { in OperandTracker() 454 case Operand::LifeTime::CONSTANT_COPY: { in addOperand() 458 case Operand::LifeTime::CONSTANT_REFERENCE: { in addOperand() 463 case Operand::LifeTime::NO_VALUE: { in addOperand() 466 case Operand::LifeTime::TEMPORARY_VARIABLE: { // handled similarly to SUBGRAPH_OUTPUT in addOperand() 480 case Operand::LifeTime::SUBGRAPH_INPUT: { in addOperand() 483 case Operand::LifeTime::SUBGRAPH_OUTPUT: { // handled similarly to TEMPORARY_VARIABLE in addOperand() 499 case Operand::LifeTime::SUBGRAPH: { in addOperand() 503 case Operand::LifeTime::POINTER: { in addOperand() [all …]
|
D | ModelBuilder.h | 125 CHECK(operand.lifetime == Operand::LifeTime::SUBGRAPH); in getReferencedModel()
|
D | Manager.cpp | 325 if (operand.lifetime == Operand::LifeTime::CONSTANT_COPY || in getSupportedOperations() 326 operand.lifetime == Operand::LifeTime::CONSTANT_REFERENCE || in getSupportedOperations() 327 operand.lifetime == Operand::LifeTime::POINTER) { in getSupportedOperations()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestUtils.cpp | 49 const Operand::LifeTime lifetime = static_cast<Operand::LifeTime>(operand.lifetime); in createOperand() 156 requestArgument = {.lifetime = Request::Argument::LifeTime::NO_VALUE}; in createRequest() 159 requestArgument = {.lifetime = Request::Argument::LifeTime::POOL, in createRequest() 182 outputs.push_back({.lifetime = Request::Argument::LifeTime::POOL, in createRequest()
|
D | Assertions.cpp | 35 COMPARE_ENUMS_TYPES(TestOperandLifeTime, Operand::LifeTime); 178 #define COMPARE_ENUMS(symbol) COMPARE_ENUMS_FULL(symbol, TestOperandLifeTime, Operand::LifeTime)
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 427 enum class LifeTime { enum 583 LifeTime lifetime{}; 855 enum class LifeTime { enum 861 LifeTime lifetime{};
|
D | TypeUtils.h | 94 std::ostream& operator<<(std::ostream& os, const Operand::LifeTime& lifetime); 96 std::ostream& operator<<(std::ostream& os, const Request::Argument::LifeTime& lifetime);
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | GenerateCorpus.cpp | 44 Operand::LifeTime convert(TestOperandLifeTime lifetime) { in convert() 45 return static_cast<Operand::LifeTime>(lifetime); in convert()
|
/packages/modules/NeuralNetworks/common/include/ |
D | CpuExecutor.h | 67 Operand::LifeTime lifetime; 262 return input->lifetime == Operand::LifeTime::NO_VALUE; in IsNullInput()
|
D | LegacyHalUtils.h | 350 Operand::LifeTime uncheckedConvert(V1_3::OperandLifeTime lifetime); 392 V1_3::OperandLifeTime convertToV1_3(Operand::LifeTime lifetime);
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverFloatXNNPACK.cpp | 90 to.lifetime = Operand::LifeTime::NO_VALUE; in updateForArguments() 224 if (operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_COPY || in Create() 225 operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_REFERENCE || in Create() 226 operands[tensors[t]].lifetime == Operand::LifeTime::POINTER) { in Create() 486 static V1_3::ErrorStatus CheckTensorStaticAllocation(Operand::LifeTime lifetime) { in CheckTensorStaticAllocation() 487 if (lifetime != Operand::LifeTime::CONSTANT_COPY && in CheckTensorStaticAllocation() 488 lifetime != Operand::LifeTime::CONSTANT_REFERENCE && in CheckTensorStaticAllocation() 489 lifetime != Operand::LifeTime::POINTER) { in CheckTensorStaticAllocation()
|
/packages/modules/NeuralNetworks/common/operations/ |
D | LSHProjection.cpp | 114 if (weight->lifetime == Operand::LifeTime::NO_VALUE) { in runningSignBit()
|
D | LSTM.cpp | 116 no_value.lifetime = Operand::LifeTime::NO_VALUE; in LSTMCell() 224 params->use_projection_weight = (projection_weights->lifetime != Operand::LifeTime::NO_VALUE); in CheckInputTensorDimensions() 225 params->use_projection_bias = (projection_bias->lifetime != Operand::LifeTime::NO_VALUE); in CheckInputTensorDimensions()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | types.spec | 126 %define OperandLifeTime Operand::LifeTime 6521 enum class LifeTime {
|