pub trait NumpyShape {
    fn shape() -> Vec<usize> { ... }
}
Expand description

A type that implements this returns a vec of usize that can represent a tuple of ints in a .npy file.

By default this function returns an empty vec, because a single number is represented by the empty tuple in a .npy file.

Provided Methods

Implementations on Foreign Types

Implementors