TensorFlow 2.0 Beta is available Learn more

tf.keras.activations.softsign

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