Home
last modified time | relevance | path

Searched refs:operandCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/ml/nn/runtime/
DModelBuilder.cpp113 if (index >= operandCount()) { in setOperandValue()
115 << operandCount(); in setOperandValue()
188 if (index >= operandCount()) { in setOperandValueFromModel()
190 << " of " << operandCount(); in setOperandValueFromModel()
210 if (index >= operandCount()) { in setOperandSymmPerChannelQuantParams()
213 << operandCount(); in setOperandSymmPerChannelQuantParams()
244 if (index >= operandCount()) { in setOperandExtensionData()
246 << "setting extension data for operand " << index << " of " << operandCount(); in setOperandExtensionData()
319 if (index >= operandCount()) { in setOperandValueFromMemory()
321 << " of " << operandCount(); in setOperandValueFromMemory()
[all …]
DModelBuilder.h77 uint32_t operandCount() const { in operandCount() function
DExecutionPlan.cpp207 *stepOperandIndex = mStepModel.operandCount(); in addOperand()
321 const uint32_t operandCount = static_cast<uint32_t>(sourceModelOperands.size()); in addOperation() local
322 for (uint32_t i = 0; i < operandCount; i++) { in addOperation()
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp433 const uint32_t operandCount = stats.mBuilder->operandCount(); in operator <<() local
437 << ", operandCount = " << operandCount << ", inputCount = " << inputCount << " (" in operator <<()
438 << (double(inputCount) / operandCount) << ")" in operator <<()
439 << ", outputCount = " << outputCount << " (" << (double(outputCount) / operandCount) in operator <<()
DTestPartitioning.cpp1136 for (uint32_t i = 0, e = model->operandCount(); i < e; i++) { in buildDefinitionMap()
1162 ASSERT_EQ(model->operandCount(), defMap->size()); in buildDefinitionMap()
1245 if (modelA->operandCount() != modelB->operandCount() || in compare()
1358 if (modelA->operandCount() != defsA.size() || modelA->operandCount() != defsB.size() || in compare()
1359 modelA->operandCount() != equivalentOperandsAToB.size() || in compare()
/frameworks/ml/nn/common/
DOperationsUtils.cpp38 uint32_t operandCount, in validateOperandTypes() argument
40 NN_RET_CHECK_EQ(operandCount, expectedTypes.size()); in validateOperandTypes()
41 for (uint32_t i = 0; i < operandCount; ++i) { in validateOperandTypes()
DValidateHal.cpp552 const size_t operandCount = operands.size(); in validateModelInputOutputs() local
554 if (i >= operandCount) { in validateModelInputOutputs()
555 LOG(ERROR) << "Model input or output index out of range: " << i << "/" << operandCount; in validateModelInputOutputs()
DUtils.cpp640 int validateOperandList(uint32_t count, const uint32_t* list, uint32_t operandCount, in validateOperandList() argument
643 if (list[i] >= operandCount) { in validateOperandList()
645 << ", operandCount " << operandCount; in validateOperandList()
/frameworks/ml/nn/common/include/
DUtils.h383 int validateOperandList(uint32_t count, const uint32_t* list, uint32_t operandCount,