<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#L5181-L5194) |

Element-wise maximum of `x1` and `x2`.

#### View aliases


**Main aliases**

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

<br />

    tf.keras.ops.maximum(
        x1, x2
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x1` | First tensor. |
| `x2` | Second tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Output tensor, element-wise maximum of `x1` and `x2`. ||

<br />