Home
last modified time | relevance | path

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

/aosp12/packages/modules/NeuralNetworks/common/include/
H A DLegacyUtils.h142 uint32_t nonExtensionOperandSizeOfData(OperandType type, const std::vector<uint32_t>& dimensions);
152 inline uint32_t nonExtensionOperandSizeOfData(const Operand& operand) { in nonExtensionOperandSizeOfData() function
153 return nonExtensionOperandSizeOfData(operand.type, operand.dimensions); in nonExtensionOperandSizeOfData()
H A DLegacyHalUtils.h126 uint32_t nonExtensionOperandSizeOfData(V1_3::OperandType type,
137 inline uint32_t nonExtensionOperandSizeOfData(const V1_3::Operand& operand) {
138 return nonExtensionOperandSizeOfData(operand.type, operand.dimensions);
H A DCpuExecutor.h91 return length >= nonExtensionOperandSizeOfData(type, dimensions); in isSufficient()
/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DExpandDims.cpp43 nonExtensionOperandSizeOfData(inputShape.type, inputShape.dimensions)); in eval()
H A DEmbeddingLookup.cpp38 const int total_bytes = nonExtensionOperandSizeOfData(value_->type, value_->dimensions); in Eval()
H A DHashtableLookup.cpp49 nonExtensionOperandSizeOfData(value_->type, value_->dimensions) / num_rows; in Eval()
H A DLSHProjection.cpp98 int input_item_bytes = nonExtensionOperandSizeOfData(input->type, input->dimensions) / in runningSignBit()
H A DReshape.cpp37 size_t count = nonExtensionOperandSizeOfData(inputShape.type, inputShape.dimensions); in copyData()
/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DCanonicalDevice.cpp233 uint32_t size = nonExtensionOperandSizeOfData(operand.type, operand.dimensions); in allocate()
H A DSampleDriver.cpp279 uint32_t size = nonExtensionOperandSizeOfData(operand.type, operand.dimensions); in allocate()
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DTypeManager.cpp275 return nonExtensionOperandSizeOfData(type, dimensions); in getSizeOfData()
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DMemoryDomainTests.cpp75 const uint32_t size = nn::nonExtensionOperandSizeOfData( in createDummyData()
240 kTestOperandDataSize(nn::nonExtensionOperandSizeOfData(static_cast<OperandType>(type), in MemoryDomainTestBase()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DMemoryDomainTests.cpp77 const uint32_t size = nn::nonExtensionOperandSizeOfData( in createDummyData()
230 kTestOperandDataSize(nn::nonExtensionOperandSizeOfData(static_cast<nn::OperandType>(type), in MemoryDomainTestBase()
/aosp12/packages/modules/NeuralNetworks/common/
H A DCpuExecutor.cpp223 uint32_t length = nonExtensionOperandSizeOfData(info->type, info->dimensions); in setInfoAndAllocateIfNeeded()
234 uint32_t length = nonExtensionOperandSizeOfData(info->type, info->dimensions); in setInfoAndAllocateIfNeeded()
1777 bodyOutputHasUnknownShape[i] = nonExtensionOperandSizeOfData(operand) == 0; in executeWhileOperation()
H A DLegacyUtils.cpp327 uint32_t nonExtensionOperandSizeOfData(OperandType type, const std::vector<uint32_t>& dimensions) { in nonExtensionOperandSizeOfData() function
655 NN_RET_CHECK_NE(nonExtensionOperandSizeOfData(operand.type, operand.dimensions), 0u); in validateControlFlowOperandUnknownSize()
H A DLegacyHalUtils.cpp102 uint32_t nonExtensionOperandSizeOfData(V1_3::OperandType type, in nonExtensionOperandSizeOfData() function
104 return nonExtensionOperandSizeOfData(uncheckedConvert(type), dimensions); in nonExtensionOperandSizeOfData()
H A DValidateHal.cpp418 uint32_t expectedLength = nonExtensionOperandSizeOfData(operand); in validateOperands()
/aosp12/packages/modules/NeuralNetworks/driver/sample_aidl/
H A DSampleDriver.cpp181 uint32_t size = nonExtensionOperandSizeOfData(convert(operand.type).value(), in allocate()