<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/activations/activations.py#L622-L642) |

Mish activation function.

    tf.keras.activations.mish(
        x
    )

#### It is defined as:

`mish(x) = x * tanh(softplus(x))`

where `softplus` is defined as:

`softplus(x) = log(exp(x) + 1)`

<br />

<br />

<br />

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

<br />

#### Reference:

- [Misra, 2019](https://arxiv.org/abs/1908.08681)