Searched refs:tableLookup (Results 1 – 1 of 1) sorted by relevance
/frameworks/ml/nn/common/ |
D | Utils.cpp | 180 EntryType tableLookup(const EntryType (&table)[entryCount], in tableLookup() function 359 return tableLookup(kScalarDataType, kScalarDataTypeOEM, type); in nonExtensionOperandTypeIsScalar() 365 uint32_t sizeOfElement = tableLookup(kSizeOfDataType, kSizeOfDataTypeOEM, n); in nonExtensionOperandSizeOfData() 366 return tableLookup(kScalarDataType, kScalarDataTypeOEM, n) in nonExtensionOperandSizeOfData() 396 uint32_t sizeOfElement = tableLookup(kSizeOfDataType, kSizeOfDataTypeOEM, n); in nonExtensionOperandSizeOfDataOverflowsUInt32() 397 return tableLookup(kScalarDataType, kScalarDataTypeOEM, n) in nonExtensionOperandSizeOfDataOverflowsUInt32() 567 : tableLookup(kSizeOfDataType, kSizeOfDataTypeOEM, static_cast<int>(type.type)); in validateTensorDimensions() 601 bool isScalar = tableLookup(kScalarDataType, kScalarDataTypeOEM, type.type); in validateOperandTypeHelper()
|