Mojo function
normalize
normalize(value: BFloat16) -> UInt16
Returns:
UInt16
normalize(value: UInt16) -> UInt16
Returns:
UInt16
normalize(value: Scalar[dtype]) -> Scalar[_uint_type_of_width[bit_width_of[dtype]()]()]
Normalize the value to the appropriate unsigned integer type. This is needed for radix sort to work correctly.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!