tf.keras.activations.leaky_relu
Функция активации Leaky ReLU.
tf.keras.activations.leaky_relu(
x, negative_slope=0.2
)
| Аргументы | |
|---|---|
x | Входной тензор. |
negative_slope | Значение, которое контролирует наклон для значений ниже порога. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/activations/leaky_relu