Function foreach_feature

Source
pub fn foreach_feature<F, W>(
    model_offset: ModelIndex,
    features: &SparseFeatures,
    weights: &W,
    quadratic_interactions: &[(Namespace, Namespace)],
    cubic_interactions: &[(Namespace, Namespace, Namespace)],
    num_bits: u8,
    constant_feature_enabled: bool,
    func: F,
)
where F: FnMut(f32, f32), W: Weights,