Home
last modified time | relevance | path

Searched refs:operandIndex (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/nn/runtime/
DModelBuilder.cpp128 mLargeOperandValues.push_back(LargeValue{.operandIndex = index, .buffer = buffer}); in setOperandValue()
141 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory()
164 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory()
258 const uint32_t operandIndex = indexList[i]; in identifyInputsAndOutputs() local
259 if (operandIndex >= mOperands.size()) { in identifyInputsAndOutputs()
262 << operandIndex << " as this exceeds the numbe of operands " in identifyInputsAndOutputs()
266 (*indexVector)[i] = operandIndex; in identifyInputsAndOutputs()
267 Operand& operand = mOperands[operandIndex]; in identifyInputsAndOutputs()
270 << operandIndex in identifyInputsAndOutputs()
354 for (uint32_t operandIndex : mOperations[operationIndex].inputs) { in sortIntoRunOrder() local
[all …]
DManager.cpp106 for (uint32_t operandIndex : operands) { in getSupportedOperations() local
107 const Operand& operand = hidlModel.operands[operandIndex]; in getSupportedOperations()
DExecutionPlan.cpp101 for (uint32_t operandIndex : operation.inputs) { in OperandTracker() local
102 auto lifetime = mModel->getOperand(operandIndex).lifetime; in OperandTracker()
107 std::pair<uint32_t, uint32_t>(operandIndex, operationIndex)); in OperandTracker()
120 for (uint32_t operandIndex : operation.outputs) { in markProcessed() local
121 auto range = mOperandToOperations.equal_range(operandIndex); in markProcessed()
887 const uint32_t operandIndex = operation.inputs[0]; in getPerformanceInfo() local
888 const OperandType operandType = mOperands[operandIndex].type; in getPerformanceInfo()
DModelBuilder.h125 uint32_t operandIndex; member
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp399 const uint32_t operandIndex = model->addOperand(&biasType); in makeRnnSpecialInput() local
403 model->setOperandValue(operandIndex, biasValue); in makeRnnSpecialInput()
404 return int(operandIndex); in makeRnnSpecialInput()
627 const uint32_t operandIndex = model.addOperand(&activationFunctionType); in TEST_P() local
633 model.setOperandValue(operandIndex, activationFunction); in TEST_P()
634 operationInputs[operationInputIndex] = operandIndex; in TEST_P()
638 const int operandIndex = (this->*(operationPattern.mMakeSpecialInput))( in TEST_P() local
640 if (operandIndex >= 0) { in TEST_P()
641 operationInputs[operationInputIndex] = operandIndex; in TEST_P()
723 uint32_t operandIndex = ~0U; in TEST_P() local
[all …]
/frameworks/ml/nn/common/
DValidateHal.cpp447 const uint32_t operandIndex = operandIndexes[requestArgumentIndex]; in validateRequestArguments() local
448 const Operand& operand = operands[operandIndex]; in validateRequestArguments()
DCpuExecutor.cpp276 const uint32_t operandIndex = indexes[i]; in initializeRunTimeInfo() local
278 RunTimeOperandInfo& to = mOperands[operandIndex]; in initializeRunTimeInfo()