mlx.core.floor

Contents

mlx.core.floor#

floor(a: array, /, *, stream: None | Stream | Device = None) array#

Element-wise floor.

Parameters:

a (array) – Input array.

Returns:

The floor of a.

Return type:

array