Skip to main content

bitnet_threshold

Function bitnet_threshold 

Source
pub fn bitnet_threshold(weights: &[f32]) -> f32
Expand description

Compute the BitNet-style threshold: 0.5 × mean(|weights|)