<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L3630-L3644) |

Return the floor of the input, element-wise.

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.floor`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/floor)

<br />

    tf.keras.ops.floor(
        x
    )

The floor of the scalar `x` is the largest integer `i`, such that `i <= x`.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Output tensor, element-wise floor of `x`. ||

<br />