<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#L7477-L7489) |

Returns a tensor with the signs of the elements of `x`.

#### View aliases


**Main aliases**

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

<br />

    tf.keras.ops.sign(
        x
    )

<br />

<br />

<br />

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

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Output tensor of same shape as `x`. ||

<br />