Searched defs:neededLength (Results 1 - 2 of 2) sorted by relevance

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

Completed in 71 milliseconds