Skip to main content

decode_binary

Function decode_binary 

Source
pub fn decode_binary(bits: &[u8], dim: usize) -> Vec<f32>
Expand description

Decode binary codes back to an approximate float vector.

Each bit is decoded to +1.0 (set) or -1.0 (unset).