# tf.math.softplus

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 2 version](https://www.tensorflow.org/api_docs/python/tf/math/softplus) |

Computes softplus: `log(exp(features) + 1)`.

#### View aliases


**Main aliases**

[`tf.nn.softplus`](https://www.tensorflow.org/api_docs/python/tf/math/softplus)
**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.math.softplus`](https://www.tensorflow.org/api_docs/python/tf/math/softplus), [`tf.compat.v1.nn.softplus`](https://www.tensorflow.org/api_docs/python/tf/math/softplus), \`tf.compat.v2.math.softplus\`, \`tf.compat.v2.nn.softplus\`

<br />

    tf.math.softplus(
        features, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `features` | A `Tensor`. Must be one of the following types: `half`, `bfloat16`, `float32`, `float64`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor`. Has the same type as `features`. ||

<br />