Skip to main content

f32_slice_to_normalised

Function f32_slice_to_normalised 

Source
pub fn f32_slice_to_normalised(
    raw: &[f32],
    t: usize,
    c: usize,
) -> Result<Array2<f64>>
Expand description

Convert a flat Vec<f32> (row-major, shape [T, C]) into an ndarray after normalising.

Returns a (T, C) Array2<f64> with z-score normalised values.