Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DModelBuilder.cpp79 if (index >= operandCount()) { in setOperandValue()
81 << operandCount(); in setOperandValue()
179 if (index >= operandCount()) { in setOperandValueFromMemory()
181 << " of " << operandCount(); in setOperandValueFromMemory()
241 int n = validateOperandList(inputCount, inputs, operandCount(), in identifyInputsAndOutputs()
246 n = validateOperandList(outputCount, outputs, operandCount(), in identifyInputsAndOutputs()
DModelBuilder.h58 uint32_t operandCount() const { in operandCount() function
DExecutionPlan.cpp148 *toOperandIndex = mSubModel.operandCount(); in addOperand()
248 const uint32_t operandCount = static_cast<uint32_t>(globalOperands.size()); in addOperation() local
249 for (uint32_t i = 0; i < operandCount; i++) { in addOperation()
/frameworks/ml/nn/common/
DValidateHal.cpp311 const size_t operandCount = operands.size(); in validateOperations() local
315 std::vector<bool> writtenTo(operandCount, false); in validateOperations()
348 for (size_t i = 0; i < operandCount; i++) { in validateOperations()
382 const size_t operandCount = operands.size(); in validateModelInputOutputs() local
384 if (i >= operandCount) { in validateModelInputOutputs()
385 LOG(ERROR) << "Model input or output index out of range: " << i << "/" << operandCount; in validateModelInputOutputs()
DUtils.cpp323 int validateOperandList(uint32_t count, const uint32_t* list, uint32_t operandCount, in validateOperandList() argument
326 if (list[i] >= operandCount) { in validateOperandList()
328 << ", operandCount " << operandCount; in validateOperandList()
/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp517 for (uint32_t i = 0, e = model->operandCount(); i < e; i++) { in buildDefinitionMap()
542 ASSERT_EQ(model->operandCount(), defMap->size()); in buildDefinitionMap()
618 if (modelA->operandCount() != modelB->operandCount() || in compare()
731 if (modelA->operandCount() != defsA.size() || in compare()
732 modelA->operandCount() != defsB.size() || in compare()
733 modelA->operandCount() != equivalentOperandsAToB.size() || in compare()
DTestPartitioningRandom.cpp415 const uint32_t operandCount = stats.mBuilder->operandCount(); in operator <<() local
419 << ", operandCount = " << operandCount in operator <<()
421 << " (" << (double(inputCount) / operandCount) << ")" in operator <<()
423 << " (" << (double(outputCount) / operandCount) << ")"; in operator <<()
/frameworks/ml/nn/common/include/
DUtils.h140 int validateOperandList(uint32_t count, const uint32_t* list, uint32_t operandCount,