Skip to main content

read_npy_shape

Function read_npy_shape 

Source
pub fn read_npy_shape(bytes: &[u8]) -> Result<Vec<usize>, String>
Expand description

Auto-detect and return the shape from a .npy byte buffer.