public reshape(notnull shape as IList<ULong>) as NDArray<T>
Reshapes using unsigned 64-bit dimensions, including existing shape metadata.
| Parameter | Description |
|---|---|
shape | Non-negative dimensions whose product equals the element count. |
A reshaped copy with the same element type.
values = NDArray<Float>.ones([6]).reshape([2ul, 3ul]) print(values.reshape(values.shape).shape)