Skip to main content

shape

Method of NumpyFile.

Overloads​

NameDescription
shape(const string name) -> ListReturns the shape of a named .npz array.
shape() -> ListReturns the shape of a .npy array.

shape(const string name) -> List​

Returns the shape of a named .npz array.

Parameters​

  • name: Dataset name.

shape() -> List​

Returns the shape of a .npy array.