Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.cpp47 uint32_t neededLength = 0; in createFromPointer() local
55 neededLength = TypeManager::get()->getSizeOfData(operand.type, ret.mDimensions); in createFromPointer()
56 if (neededLength > length) { in createFromPointer()
58 << ", minimum length expected: " << neededLength; in createFromPointer()
64 const uint32_t rawLength = neededLength == 0 ? length : neededLength; in createFromPointer()
70 << length << ", expected length: " << neededLength; in createFromPointer()
87 uint32_t neededLength = 0; in createFromMemory() local
89 neededLength = TypeManager::get()->getSizeOfData(operand.type, ret.mDimensions); in createFromMemory()
90 if (neededLength > length) { in createFromMemory()
92 << " (offset: " << offset << "), minimum length expected: " << neededLength; in createFromMemory()
[all …]
DModelBuilder.cpp154 uint32_t neededLength = TypeManager::get()->getSizeOfData(operand); in setOperandValue() local
155 if (neededLength != valueLength) { in setOperandValue()
157 << " bytes when needing " << neededLength; in setOperandValue()
337 uint32_t neededLength = TypeManager::get()->getSizeOfData(operand); in setOperandValueFromMemory() local
338 if (neededLength != length) { in setOperandValueFromMemory()
340 << " bytes when needing " << neededLength; in setOperandValueFromMemory()