average_weight_vectors

Function average_weight_vectors 

Source
pub fn average_weight_vectors(vectors: &[&[f32]]) -> Result<Vec<f32>, RloxError>
Expand description

Average N weight vectors element-wise: result[i] = mean(vectors[j][i] for all j)

All vectors must have the same length.