tf.keras.activations.softsign

TensorFlow 1 version View source on GitHub

Softsign activation function.

tf.keras.activations.softsign(x)

Arguments:

  • x: Input tensor.

Returns:

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

Compat aliases