Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp311 static std::pair<bool, uint32_t> sizeOfTensorDataHelper(uint32_t sizeOfElement, in sizeOfTensorDataHelper() argument
316 uint64_t size = static_cast<uint64_t>(sizeOfElement); in sizeOfTensorDataHelper()
325 uint32_t sizeOfTensorData(uint32_t sizeOfElement, const std::vector<uint32_t>& dimensions) { in sizeOfTensorData() argument
326 const auto [overflow, size] = sizeOfTensorDataHelper(sizeOfElement, dimensions); in sizeOfTensorData()
335 uint32_t sizeOfElement = tableLookup(kSizeOfDataType, kSizeOfDataTypeOEM, n); in nonExtensionOperandSizeOfDataOverflowsUInt32() local
338 : sizeOfTensorDataOverflowsUInt32(sizeOfElement, dimensions); in nonExtensionOperandSizeOfDataOverflowsUInt32()
341 bool sizeOfTensorDataOverflowsUInt32(uint32_t sizeOfElement, in sizeOfTensorDataOverflowsUInt32() argument
343 return sizeOfTensorDataHelper(sizeOfElement, dimensions).first; in sizeOfTensorDataOverflowsUInt32()
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h164 uint32_t sizeOfTensorData(uint32_t sizeOfElement, const std::vector<uint32_t>& dimensions);