View source on GitHub |
Computes the Swish activation function: x * sigmoid(x)
.
tf.nn.swish(
features
)
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.