Home
last modified time | relevance | path

Searched refs:kLowBitsType (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp35 const uint8_t kLowBitsType = static_cast<uint8_t>(Model::ExtensionTypeEncoding::LOW_BITS_TYPE); variable
36 const uint32_t kTypeWithinExtensionMask = (1 << kLowBitsType) - 1;
59 NN_RET_CHECK_EQ(operationType, (prefix << kLowBitsType) | TEST_VENDOR_FIBONACCI); in isFibonacciOperation()
71 NN_RET_CHECK(inputType == ((prefix << kLowBitsType) | TEST_VENDOR_INT64) || in validate()
73 NN_RET_CHECK(outputType == ((prefix << kLowBitsType) | TEST_VENDOR_TENSOR_QUANT64_ASYMM) || in validate()
142 uint16_t prefix = static_cast<int32_t>(operationType) >> kLowBitsType; in findOperation()
/frameworks/ml/nn/common/
DUtilsTest.cpp58 constexpr uint8_t kLowBitsType = in getExtensionType() local
60 int32_t type = (extensionPrefix << kLowBitsType) | typeWithinExtension; in getExtensionType()
/frameworks/ml/nn/runtime/
DTypeManager.cpp45 const uint8_t kLowBitsType = static_cast<uint8_t>(Model::ExtensionTypeEncoding::LOW_BITS_TYPE); variable
256 *type = (prefix << kLowBitsType) | typeWithinExtension; in getExtensionType()
270 uint16_t prefix = operandType >> kLowBitsType; in getExtensionOperandTypeInfo()
271 uint16_t typeWithinExtension = operandType & ((1 << kLowBitsType) - 1); in getExtensionOperandTypeInfo()
DModelBuilder.cpp562 constexpr uint8_t kLowBitsType = in getExtensionNameToPrefixMap() local
566 addExtensionWithPrefix(static_cast<uint32_t>(operand.type) >> kLowBitsType); in getExtensionNameToPrefixMap()
571 addExtensionWithPrefix(static_cast<uint32_t>(operation.type) >> kLowBitsType); in getExtensionNameToPrefixMap()