tf.keras.activations.softsign

tf.keras.activations.softsign(x)

Defined in tensorflow/python/keras/activations.py.

Softsign activation function.

Arguments:

  • x: Input tensor.

Returns:

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