Home
last modified time | relevance | path

Searched refs:nonExtensionOperandSizeOfData (Results 1 – 13 of 13) sorted by relevance

/frameworks/ml/nn/common/operations/
DExpandDims.cpp43 nonExtensionOperandSizeOfData(inputShape.type, inputShape.dimensions)); in eval()
DEmbeddingLookup.cpp42 const int total_bytes = nonExtensionOperandSizeOfData(value_->type, value_->dimensions); in Eval()
DHashtableLookup.cpp53 nonExtensionOperandSizeOfData(value_->type, value_->dimensions) / num_rows; in Eval()
DLSHProjection.cpp99 int input_item_bytes = nonExtensionOperandSizeOfData(input->type, input->dimensions) / in runningSignBit()
DReshape.cpp37 size_t count = nonExtensionOperandSizeOfData(inputShape.type, inputShape.dimensions); in copyData()
/frameworks/ml/nn/common/include/
DUtils.h256 uint32_t nonExtensionOperandSizeOfData(hal::OperandType type,
267 inline uint32_t nonExtensionOperandSizeOfData(const hal::Operand& operand) {
268 return nonExtensionOperandSizeOfData(operand.type, operand.dimensions);
DCpuExecutor.h91 return length >= nonExtensionOperandSizeOfData(type, dimensions); in isSufficient()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DConverter.cpp86 const size_t bufferSize = makeEmpty ? 0 : nonExtensionOperandSizeOfData(halType, dimensions); in convert()
/frameworks/ml/nn/runtime/
DTypeManager.cpp282 return nonExtensionOperandSizeOfData(type, dimensions); in getSizeOfData()
/frameworks/ml/nn/common/
DCpuExecutor.cpp209 uint32_t length = nonExtensionOperandSizeOfData(info->type, info->dimensions); in setInfoAndAllocateIfNeeded()
220 uint32_t length = nonExtensionOperandSizeOfData(info->type, info->dimensions); in setInfoAndAllocateIfNeeded()
1826 bodyOutputHasUnknownShape[i] = nonExtensionOperandSizeOfData(operand) == 0; in executeWhileOperation()
DValidateHal.cpp417 uint32_t expectedLength = nonExtensionOperandSizeOfData(operand); in validateOperands()
DUtils.cpp362 uint32_t nonExtensionOperandSizeOfData(OperandType type, const std::vector<uint32_t>& dimensions) { in nonExtensionOperandSizeOfData() function
769 NN_RET_CHECK_NE(nonExtensionOperandSizeOfData(operand.type, operand.dimensions), 0u); in validateControlFlowOperandUnknownSize()
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp272 uint32_t size = nonExtensionOperandSizeOfData(operand.type, operand.dimensions); in allocate()