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

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.