MV2

resize(a, new_shape)[source]

Resize

Returns
a new array with the specified shape.
The original array’s total size can be any size.