tf.keras.layers.LeakyReLU

Leaky version of a Rectified Linear Unit.

Inherits From: Layer, Module

Used in the notebooks

Used in the guide Used in the tutorials

It allows a small gradient when the unit is not active:

  f(x) = alpha * x if x < 0
  f(x) = x if x >= 0

Usage: