tf.keras.activations.softplus

Softplus activation function.

Aliases:

  • tf.compat.v1.keras.activations.softplus
  • tf.compat.v2.keras.activations.softplus
  • tf.keras.activations.softplus
tf.keras.activations.softplus(x)

Defined in python/keras/activations.py.

Arguments:

  • x: Input tensor.

Returns:

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