pub fn normalize_rows(arr: &Array2<f32>) -> Array2<f32>
Normalize rows of a 2D array to unit length.
arr
[N, dim]
Normalized array