/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioningRandom.cpp | 415 const uint32_t operandIndex = model->addOperand(&biasType); in makeRnnSpecialInput() local 418 model->setOperandValue(operandIndex, biasValue); in makeRnnSpecialInput() 419 return int(operandIndex); in makeRnnSpecialInput() 433 const uint32_t operandIndex = model->addOperand(&permType); in makeTransposeSpecialInput() local 435 model->setOperandValue(operandIndex, permValue); in makeTransposeSpecialInput() 436 return int(operandIndex); in makeTransposeSpecialInput() 743 const uint32_t operandIndex = model.addOperand(&activationFunctionType); in TEST_P() local 749 model.setOperandValue(operandIndex, activationFunction); in TEST_P() 750 operationInputs[operationInputIndex] = operandIndex; in TEST_P() 754 const int operandIndex = (this->*(operationPattern.mMakeSpecialInput))( in TEST_P() local [all …]
|
D | TestOperandExtraParams.cpp | 121 int operandIndex = nextOperandIndex++; in testAddingWithSymmPerChannelQuantParams() local 122 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in testAddingWithSymmPerChannelQuantParams()
|
D | TestValidation.cpp | 464 const int32_t operandIndex = addTensorOperand(ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL); in TEST_F() local 473 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(nullptr, operandIndex, in TEST_F() 477 ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, nullptr), in TEST_F() 479 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex + 1, in TEST_F() 482 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in TEST_F() 494 const int32_t operandIndex = in TEST_F() local 504 EXPECT_EQ(ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(mModel, operandIndex, in TEST_F() 510 const int32_t operandIndex = in TEST_F() local 515 ANeuralNetworksModel_setOperandExtensionData(nullptr, operandIndex, &data, dataLength), in TEST_F() 518 ANeuralNetworksModel_setOperandExtensionData(mModel, operandIndex, nullptr, dataLength), in TEST_F() [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestUtils.cpp | 154 for (uint32_t operandIndex : testModel.main.inputIndexes) { in createRequest() local 155 NN_RET_CHECK_LT(operandIndex, testModel.main.operands.size()) in createRequest() 156 << "createRequest failed because inputIndex of operand " << operandIndex in createRequest() 159 const auto& op = testModel.main.operands[operandIndex]; in createRequest() 178 for (uint32_t operandIndex : testModel.main.outputIndexes) { in createRequest() local 179 NN_RET_CHECK_LT(operandIndex, testModel.main.operands.size()) in createRequest() 180 << "createRequest failed because outputIndex of operand " << operandIndex in createRequest() 183 const auto& op = testModel.main.operands[operandIndex]; in createRequest()
|
/packages/modules/NeuralNetworks/runtime/ |
D | ModelBuilder.cpp | 186 mLargeOperandValues.push_back(LargeValue{.operandIndex = index, .buffer = buffer}); in setOperandValue() 297 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() 315 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() 457 const uint32_t operandIndex = indexList[i]; in identifyInputsAndOutputs() local 458 if (operandIndex >= mOperands.size()) { in identifyInputsAndOutputs() 462 << operandIndex << " as this exceeds the numbe of operands " in identifyInputsAndOutputs() 466 (*indexVector)[i] = operandIndex; in identifyInputsAndOutputs() 467 Operand& operand = mOperands[operandIndex]; in identifyInputsAndOutputs() 470 << operandIndex in identifyInputsAndOutputs() 847 for (uint32_t operandIndex : mOperations[operationIndex].inputs) { in sortIntoRunOrder() local [all …]
|
D | ExecutionPlan.cpp | 191 for (uint32_t operandIndex : operation.inputs) { in OperandTracker() local 192 auto lifetime = mModel->getOperand(operandIndex).lifetime; in OperandTracker() 196 mOperandToOperations.emplace(operandIndex, operationIndex); in OperandTracker() 209 for (uint32_t operandIndex : operation.outputs) { in markProcessed() local 210 auto range = mOperandToOperations.equal_range(operandIndex); in markProcessed() 260 void addRole(const ExecutionStep& step, uint32_t operandIndex, IOType type, in addRole() argument 262 SourceOperandIndex source = {step.getSourceModelIndex(), operandIndex}; in addRole() 1513 std::shared_ptr<Controller> controller, SourceOperandIndex operandIndex) const { in getBuffer() 1519 if (auto it = sourceOperandToLocationOfTemporary.find(operandIndex); in getBuffer() 1524 } else if (auto it = sourceOperandToInputIndex.find(operandIndex); in getBuffer() [all …]
|
D | ModelBuilder.h | 223 uint32_t operandIndex; member
|
D | ExecutionPlan.h | 808 SourceOperandIndex operandIndex) const; 812 int readConditionValue(std::shared_ptr<Controller> controller, SourceOperandIndex operandIndex,
|
D | Manager.cpp | 376 for (uint32_t operandIndex : operands) { in getSupportedOperations() local 377 const Operand& operand = model.main.operands[operandIndex]; in getSupportedOperations()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/ |
D | TestHarness.h | 401 for (const auto operandIndex : operation.inputs) { in hasQuant8CoupledOperands() 402 if (subgraph.operands[operandIndex].type == in hasQuant8CoupledOperands() 408 for (const auto operandIndex : operation.outputs) { in hasQuant8CoupledOperands() 409 if (subgraph.operands[operandIndex].type == in hasQuant8CoupledOperands()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | TypeUtils.cpp | 231 for (uint32_t operandIndex : operation.inputs) { in countNumberOfConsumers() local 232 if (operandIndex >= numberOfConsumers.size()) { in countNumberOfConsumers() 235 << operandIndex << " vs " << numberOfConsumers.size() << ")"; in countNumberOfConsumers() 237 numberOfConsumers[operandIndex]++; in countNumberOfConsumers()
|
D | Validation.cpp | 1163 const uint32_t operandIndex = operandIndexes[requestArgumentIndex]; in validateRequestArgumentsForModel() local 1164 const Operand& operand = operands[operandIndex]; in validateRequestArgumentsForModel()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimConverter.cpp | 113 uint32_t operandIndex = resultModel.addOperand(&operandType); in convertSubgraphFromHAL() local 124 resultModel.setOperandExtensionData(operandIndex, extensionData.data(), in convertSubgraphFromHAL()
|
/packages/modules/NeuralNetworks/common/ |
D | CpuExecutor.cpp | 672 const uint32_t operandIndex = indexes[i]; in updateForArguments() local 674 RunTimeOperandInfo& to = operands[operandIndex]; in updateForArguments() 1865 const uint32_t operandIndex = outputIndexes[i]; in setOutputShapes() local 1866 const RunTimeOperandInfo& from = operands[operandIndex]; in setOutputShapes()
|
D | ValidateHal.cpp | 769 const uint32_t operandIndex = operandIndexes[requestArgumentIndex]; in validateRequestArguments() local 770 const V1_3::Operand& operand = operands[operandIndex]; in validateRequestArguments()
|
/packages/modules/NeuralNetworks/extensions/ |
D | README.md | 140 CHECK_EQ(ANeuralNetworksModel_setOperandExtensionData(model, operandIndex, ¶ms, sizeof(params)),
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverFloatXNNPACK.cpp | 78 const uint32_t operandIndex = indexes[i]; in updateForArguments() local 80 RunTimeOperandInfo& to = operands[operandIndex]; in updateForArguments()
|