tf.nn.swish

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

Args
features A Tensor representing preactivation values.
name A name for the operation (optional).
Returns
The activation value.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/nn/swish