[−][src]Module half::vec
Contains utility functions and traits to convert between vectors of u16 bits and f16 or
bf16 vectors.
The utility HalfBitsVecExt sealed extension trait is implemented for Vec<u16> vectors,
while the utility HalfFloatVecExt sealed extension trait is implemented for both Vec<f16>
and Vec<bf16> vectors. These traits provide efficient conversions and reinterpret casting of
larger buffers of floating point values, and are automatically included in the prelude
module.
This module is only available with the std feature.
Traits
| HalfBitsVecExt | Extensions to |
| HalfFloatVecExt | Extensions to |
Functions
| from_bits | Deprecated Converts a vector of |
| to_bits | Deprecated Converts a vector of |