bf16_bytes_to_f32

Function bf16_bytes_to_f32 

Source
pub fn bf16_bytes_to_f32(bytes: [u8; 2]) -> f32
Expand description

Widen little-endian BF16 bytes to f32. Exact — BF16 is the top 16 bits of an f32, so this is a shift, never a rounding.