Home
last modified time | relevance | path

Searched refs:neededLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/
DModelBuilder.cpp103 uint32_t neededLength = sizeOfData(operand.type, operand.dimensions); in setOperandValue() local
104 if (operand.type != OperandType::OEM && neededLength != valueLength) { in setOperandValue()
106 << " bytes when needing " << neededLength; in setOperandValue()
185 uint32_t neededLength = sizeOfData(operand.type, operand.dimensions); in setOperandValueFromMemory() local
186 if (neededLength != length) { in setOperandValueFromMemory()
188 << " bytes when needing " << neededLength; in setOperandValueFromMemory()
196 .poolIndex = mMemories.add(memory), .offset = offset, .length = neededLength}; in setOperandValueFromMemory()
DExecutionBuilder.cpp51 uint32_t neededLength = sizeOfData(operand.type, dimensions); in setFromPointer() local
52 if (operand.type != OperandType::OEM && neededLength != length) { in setFromPointer()
54 << ", expected length: " << neededLength; in setFromPointer()
70 uint32_t neededLength = sizeOfData(operand.type, dimensions); in setFromMemory() local
71 if (operand.type != OperandType::OEM && neededLength != length) { in setFromMemory()
73 << ", expected length: " << neededLength; in setFromMemory()