tf.keras.activations.squareplus

Squareplus activation function.

The Squareplus activation function is defined as:

f(x) = (x + sqrt(x^2 + b)) / 2

Where b is a smoothness parameter.

x Input tensor.
b Smoothness parameter. Defaults to 4.

Reference: