Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.backend.elu

TensorFlow 1 version View source on GitHub

Exponential linear unit.

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

Arguments:

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

Returns:

A tensor.