pub fn encode_f64( data: &[f64], dims: &[usize], cfg: &Config, ) -> (Vec<u8>, EncodeStats)
Encode an f64 array of shape dims (row-major).
dims