mlx.core.sqrt#

mlx.core.sqrt(a: array, /, *, stream: Union[None, Stream, Device] = None) array#

Element-wise square root.

Parameters:

a (array) – Input array.

Returns:

The square root of a.

Return type:

array