Missed TensorFlow World? Check out the recap. Learn more

tf.keras.activations.softsign

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).