tf.raw_ops.LeakyRelu
Вычисляет выпрямленный линейный: max(features, features * alpha).
tf.raw_ops.LeakyRelu(
features, alpha=0.2, name=None
)
| Аргументы | |
|---|---|
features | A Tensor. Должен быть одним из следующих типов: half, bfloat16, float32, float64. |
alpha | Необязательный float. По умолчанию 0.2. |
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.3/api_docs/python/tf/raw_ops/LeakyRelu