tf.raw_ops.Softsign
Вычисляет softsign: features / (abs(features) + 1).
tf.raw_ops.Softsign(
features, name=None
)
| Аргументы | |
|---|---|
features | A Tensor. Должен быть одним из следующих типов: half, bfloat16, float32, float64. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
A Tensor. Имеет тот же тип, что и features. |
© 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/r2.4/api_docs/python/tf/raw_ops/Softsign