tensorflow::ops::Selu
#include <nn_ops.h>
Вычисляет масштабированную экспоненциально-линейную функцию: scale * alpha * (exp(features) - 1)
Summary
если < 0, scale * features в противном случае.
Используется совместно с `initializer = tf.variance_scaling_initializer(factor=1.0, mode='FAN_IN'). For correct dropout, usetf.contrib.nn.alpha_dropout`.
См. Самонормализующиеся нейронные сети
Аргументы:
- scope: Объект Scope
Возвращает:
-
Output: Тензор активаций.
| Конструкторы и деструкторы | |
|---|---|
Selu(const ::tensorflow::Scope & scope, ::tensorflow::Input features) |
| Общедоступные атрибуты | |
|---|---|
activations | |
operation | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
активации
::tensorflow::Output activations
операция
Operation operation
Общедоступные функции
Selu
Selu( const ::tensorflow::Scope & scope, ::tensorflow::Input features )
узел
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/cc/class/tensorflow/ops/selu