tf.keras.backend.elu

tf.keras.backend.elu(
    x,
    alpha=1.0
)

Defined in tensorflow/python/keras/_impl/keras/backend.py.

Exponential linear unit.

Arguments:

  • x: A tensor or variable to compute the activation function for.
  • alpha: A scalar, slope of negative section.

Returns:

A tensor.