[go: up one dir, main page]

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

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

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.