tf.keras.activations.softplus

TensorFlow 1 version View source on GitHub

Softplus activation function.

tf.keras.activations.softplus(x)

Arguments:

  • x: Input tensor.

Returns:

The softplus activation: log(exp(x) + 1).

Compat aliases