Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Selu
#include <nn_ops.h>
Computes scaled exponential linear: scale * alpha * (exp(features) - 1)
Summary
if < 0, scale * features
otherwise.
To be used together with `initializer = tf.variance_scaling_initializer(factor=1.0, mode='FAN_IN'). For correct dropout, use
tf.contrib.nn.alpha_dropout`.
See Self-Normalizing Neural Networks
Args:
Returns:
Output
: The activations tensor.
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::Selu Class Reference\n\ntensorflow::ops::Selu\n=====================\n\n`#include \u003cnn_ops.h\u003e`\n\nComputes scaled exponential linear: `scale * alpha * (exp(features) - 1)`\n\nSummary\n-------\n\nif \\\u003c 0, `scale * features` otherwise.\n\nTo be used together with \\`initializer = tf.variance_scaling_initializer(factor=1.0, mode='FAN_IN')`. For correct dropout, use`tf.contrib.nn.alpha_dropout\\`.\n\nSee [Self-Normalizing Neural Networks](https://arxiv.org/abs/1706.02515)\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The activations tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Selu](#classtensorflow_1_1ops_1_1_selu_1a88f67ba3de20218b6f358fe1b42a2c0e)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` features)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [activations](#classtensorflow_1_1ops_1_1_selu_1a9f56fd12aa8ff91d72bdc1ddf78a25a4) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_selu_1af165a25926d9e6d6d8ed7a8a92669708) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_selu_1a4181a5102bde25d44784c848747d66aa)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_selu_1a809153677a62b584a98e0d72c08c4b79)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_selu_1a5632258afc78d8ed6dd80dc8739e8c30)`() const ` | |\n\nPublic attributes\n-----------------\n\n### activations\n\n```text\n::tensorflow::Output activations\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### Selu\n\n```gdscript\n Selu(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]