• Leaky version of a rectified linear unit.

    It allows a small gradient when the unit is not active: f(x) = alpha * x for x < 0. f(x) = x for x >= 0.

    Input shape: Arbitrary. Use the configuration inputShape when using this layer as the first layer in a model.

    Output shape: Same shape as the input.

    Parameters

    • Optional args: LeakyReLULayerArgs

    Returns LeakyReLU

    Doc

Generated using TypeDoc