np_reshape
Reshape an array to a new shape while preserving the original data. Specify input array and desired shape dimensions.
Instructions
Give a new shape to an array without changing its data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array to reshape. | |
| newshape | Yes | The new shape (int or list of ints). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |