Skip to main content

shape

Method of NumpyFile.

Overloads

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

shape() -> List

Returns the shape of a .npy array.

shape(const string name) -> List

Returns the shape of a named .npz array.

Parameters

  • name: Dataset name.