pub fn encode_binary(values: &[f32], threshold: f32) -> PackedBinaryExpand description
Encode f32 slice as packed binary.
Values above threshold (default 0.0) become 1, others become 0.
pub fn encode_binary(values: &[f32], threshold: f32) -> PackedBinaryEncode f32 slice as packed binary.
Values above threshold (default 0.0) become 1, others become 0.