[−][src]Function half::vec::from_bits
pub fn from_bits(bits: Vec<u16>) -> Vec<f16>
Deprecated since 1.4.0:
use HalfBitsVecExt::reinterpret_into
instead
Converts a vector of u16
elements into a vector of f16
elements.
This function merely reinterprets the contents of the vector, so it's a zero-copy operation.