Searched refs:operandIndex (Results 1 – 10 of 10) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioningRandom.cpp | 415 const uint32_t operandIndex = model->addOperand(&biasType); in makeRnnSpecialInput() local 419 model->setOperandValue(operandIndex, biasValue); in makeRnnSpecialInput() 420 return int(operandIndex); in makeRnnSpecialInput() 434 const uint32_t operandIndex = model->addOperand(&permType); in makeTransposeSpecialInput() local 436 model->setOperandValue(operandIndex, permValue); in makeTransposeSpecialInput() 437 return int(operandIndex); in makeTransposeSpecialInput() 773 const uint32_t operandIndex = model.addOperand(&activationFunctionType); in TEST_P() local 779 model.setOperandValue(operandIndex, activationFunction); in TEST_P() 780 operationInputs[operationInputIndex] = operandIndex; in TEST_P() 784 const int operandIndex = (this->*(operationPattern.mMakeSpecialInput))( in TEST_P() local [all …]
|
D | TestValidation.cpp | 269 const int32_t operandIndex = addTensorOperand(ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL); in TEST_F() local 278 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(nullptr, operandIndex, in TEST_F() 282 ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, nullptr), in TEST_F() 284 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex + 1, in TEST_F() 287 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in TEST_F() 299 const int32_t operandIndex = in TEST_F() local 309 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in TEST_F() 315 const int32_t operandIndex = in TEST_F() local 320 ANeuralNetworksModel_setOperandExtensionData(nullptr, operandIndex, &data, dataLength), in TEST_F() 323 ANeuralNetworksModel_setOperandExtensionData(mModel, operandIndex, nullptr, dataLength), in TEST_F() [all …]
|
D | TestOperandExtraParams.cpp | 112 int operandIndex = nextOperandIndex++; in testAddingWithSymmPerChannelQuantParams() local 113 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in testAddingWithSymmPerChannelQuantParams()
|
/frameworks/ml/nn/runtime/ |
D | ModelBuilder.cpp | 160 mLargeOperandValues.push_back(LargeValue{.operandIndex = index, .buffer = buffer}); in setOperandValue() 247 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() 270 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() 387 const uint32_t operandIndex = indexList[i]; in identifyInputsAndOutputs() local 388 if (operandIndex >= mOperands.size()) { in identifyInputsAndOutputs() 392 << operandIndex << " as this exceeds the numbe of operands " in identifyInputsAndOutputs() 396 (*indexVector)[i] = operandIndex; in identifyInputsAndOutputs() 397 Operand& operand = mOperands[operandIndex]; in identifyInputsAndOutputs() 400 << operandIndex in identifyInputsAndOutputs() 493 for (uint32_t operandIndex : mOperations[operationIndex].inputs) { in sortIntoRunOrder() local [all …]
|
D | ExecutionPlan.cpp | 233 for (uint32_t operandIndex : operation.inputs) { in OperandTracker() local 234 auto lifetime = mModel->getOperand(operandIndex).lifetime; in OperandTracker() 239 std::pair<uint32_t, uint32_t>(operandIndex, operationIndex)); in OperandTracker() 252 for (uint32_t operandIndex : operation.outputs) { in markProcessed() local 253 auto range = mOperandToOperations.equal_range(operandIndex); in markProcessed() 1059 const uint32_t operandIndex = operation.inputs[0]; in getPerformanceInfo() local 1060 const OperandType operandType = mOperands[operandIndex].type; in getPerformanceInfo()
|
D | ModelBuilder.h | 155 uint32_t operandIndex; member
|
D | Manager.cpp | 202 for (uint32_t operandIndex : operands) { in getSupportedOperations() local 203 const Operand& operand = hidlModel.operands[operandIndex]; in getSupportedOperations()
|
/frameworks/ml/nn/common/ |
D | ValidateHal.cpp | 530 const uint32_t operandIndex = operandIndexes[requestArgumentIndex]; in validateRequestArguments() local 531 const Operand& operand = operands[operandIndex]; in validateRequestArguments()
|
D | CpuExecutor.cpp | 621 const uint32_t operandIndex = indexes[i]; in initializeRunTimeInfo() local 623 RunTimeOperandInfo& to = mOperands[operandIndex]; in initializeRunTimeInfo() 1777 const uint32_t operandIndex = outputs[i]; in finish() local 1778 RunTimeOperandInfo& from = mOperands[operandIndex]; in finish()
|
/frameworks/ml/nn/extensions/ |
D | README.md | 133 CHECK_EQ(ANeuralNetworksModel_setOperandExtensionData(model, operandIndex, ¶ms, sizeof(params)),
|