tf.keras.activations.softsign

TensorFlow 1 version View source on GitHub

Softsign activation function.

Aliases: tf.compat.v1.keras.activations.softsign, tf.compat.v2.keras.activations.softsign

tf.keras.activations.softsign(x)

Arguments:

  • x: Input tensor.

Returns:

The softplus activation: x / (abs(x) + 1).