tf.nn.swish
| View source on GitHub |
Вычисляет функцию активации Swish: x * sigmoid(x).
tf.nn.swish(
features
)
Источник: "Поиск функций активации" (Ramachandran и др., 2017) https://arxiv.org/abs/1710.05941
| Аргументы | |
|---|---|
features | A Tensor представляющий значения предварительной активации. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
| Значение активации. |
© 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