tf.nn.swish

TensorFlow 2 version View source on GitHub

Computes the Swish activation function: x * sigmoid(x).

Source: "Searching for Activation Functions" (Ramachandran et al. 2017) https://arxiv.org/abs/1710.05941

features A Tensor representing preactivation values.
name A name for the operation (optional).

The activation value.