public reshape(notnull shape as IList<UInt>) as NDArray<T>
Reshapes using unsigned 32-bit dimensions, without changing element order.
| 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([2u, 3u]) print(values.shape)