<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#L360-L378) |

Continuously Differentiable Exponential Linear Unit.

    tf.keras.activations.celu(
        x, alpha=1.0
    )

The CeLU activation function is defined as:

`celu(x) = alpha * (exp(x / alpha) - 1) for x < 0`,`celu(x) = x for x >= 0`.

where `alpha` is a scaling parameter that controls the activation's shape.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor. |
| `alpha` | The α value for the CeLU formulation. Defaults to `1.0`. |

<br />

#### Reference:

- [Barron, J. T., 2017](https://arxiv.org/abs/1704.07483)