Home
last modified time | relevance | path

Searched refs:getSizeOfData (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/nn/runtime/
DTypeManager.h70 uint32_t getSizeOfData(const hal::Operand& operand) const { in getSizeOfData() function
71 return getSizeOfData(operand.type, operand.dimensions); in getSizeOfData()
79 uint32_t getSizeOfData(hal::OperandType type, const std::vector<uint32_t>& dimensions) const;
DModelArgumentInfo.cpp57 TypeManager::get()->getSizeOfData(operand.type, ret.mDimensions); in createFromPointer()
81 TypeManager::get()->getSizeOfData(operand.type, ret.mDimensions); in createFromMemory()
DMemory.cpp137 return {.logicalSize = TypeManager::get()->getSizeOfData(kOperand.type, mUpdatedDimensions), in getMetadata()
155 TypeManager::get()->getSizeOfData(kOperand.type, combined.value())); in updateMetadata()
161 return TypeManager::get()->getSizeOfData(kOperand.type, kInitialDimensions) == 0; in createdWithUnknownShape()
481 const uint32_t size = TypeManager::get()->getSizeOfData(mOperand->type, mDesc.dimensions); in finish()
504 const uint32_t size = TypeManager::get()->getSizeOfData(mOperand->type, mDesc.dimensions); in allocate()
DTypeManager.cpp279 uint32_t TypeManager::getSizeOfData(OperandType type, in getSizeOfData() function in android::nn::TypeManager
DModelBuilder.cpp142 uint32_t neededLength = TypeManager::get()->getSizeOfData(operand); in setOperandValue()
330 uint32_t neededLength = TypeManager::get()->getSizeOfData(operand); in setOperandValueFromMemory()
DManager.cpp673 uint32_t size = TypeManager::get()->getSizeOfData(type, desc.dimensions); in allocate()
DExecutionBuilder.cpp1030 uint32_t length = TypeManager::get()->getSizeOfData(inputOrOutputOperand); in setInputOrOutputFromMemory()