<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/modeling/activations/gelu.py#L20-L32) |

Gaussian Error Linear Unit.

    tfm.utils.activations.gelu(
        x
    )

This is a smoother version of the RELU.
Original paper: <https://arxiv.org/abs/1606.08415>
Args:
x: float Tensor to perform activation.

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `x` with the GELU activation applied. ||

<br />