pub fn compute_mean(vec: &[f32]) -> Option<f64>
Calculate the mean of for a slice of f32 values There’s no need for a generic implementation here, as we only need f32 for embeddings