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.cpp38 const uint8_t kLowBitsType = static_cast<uint8_t>(ExtensionTypeEncoding::LOW_BITS_TYPE); variable
39 const uint32_t kTypeWithinExtensionMask = (1 << kLowBitsType) - 1;
62 NN_RET_CHECK_EQ(operationType, (prefix << kLowBitsType) | EXAMPLE_FIBONACCI); in isFibonacciOperation()
74 NN_RET_CHECK(inputType == ((prefix << kLowBitsType) | EXAMPLE_INT64) || in validate()
76 NN_RET_CHECK(outputType == ((prefix << kLowBitsType) | EXAMPLE_TENSOR_QUANT64_ASYMM) || in validate()
145 uint16_t prefix = static_cast<int32_t>(operationType) >> kLowBitsType; in findOperation()
/frameworks/ml/nn/runtime/
DTypeManager.cpp53 const uint8_t kLowBitsType = static_cast<uint8_t>(ExtensionTypeEncoding::LOW_BITS_TYPE); variable
238 *type = (prefix << kLowBitsType) | typeWithinExtension; in getExtensionType()
252 uint16_t prefix = operandType >> kLowBitsType; in getExtensionOperandTypeInfo()
253 uint16_t typeWithinExtension = operandType & ((1 << kLowBitsType) - 1); in getExtensionOperandTypeInfo()
DModelBuilder.cpp960 constexpr uint8_t kLowBitsType = static_cast<uint8_t>(ExtensionTypeEncoding::LOW_BITS_TYPE); in addExtensions() local
963 addExtensionWithPrefix(static_cast<uint32_t>(operand.type) >> kLowBitsType); in addExtensions()
968 addExtensionWithPrefix(static_cast<uint32_t>(operation.type) >> kLowBitsType); in addExtensions()
/frameworks/ml/nn/common/
DUtilsTest.cpp62 constexpr uint8_t kLowBitsType = static_cast<uint8_t>(ExtensionTypeEncoding::LOW_BITS_TYPE); in getExtensionType() local
63 int32_t type = (extensionPrefix << kLowBitsType) | typeWithinExtension; in getExtensionType()