tf.keras.activations.swish

View source on GitHub

Swish activation function.

tf.keras.activations.swish(
    x
)

Arguments:

  • x: Input tensor.

Returns:

The swish activation applied to x.