[][src]Function half::vec::to_bits

pub fn to_bits(numbers: Vec<f16>) -> Vec<u16>
Deprecated since 1.4.0:

use HalfFloatVecExt::reinterpret_into instead

Converts a vector of f16 elements into a vector of u16 elements.

This function merely reinterprets the contents of the vector, so it's a zero-copy operation.