mlx.core.array.reshape#

array.reshape(self: array, *args, stream: Union[None, Stream, Device] = None) array#

Equivalent to reshape() but the shape can be passed either as a tuple or as separate arguments.

See reshape() for full documentation.