tensorflow::ops::Elu

#include <nn_ops.h>

Computes the exponential linear function.

Summary

The ELU function is defined as:

  • $ e ^ x - 1 $ if $ x < 0 $
  • $ x $ if $ x >= 0 $

Examples:

tf.nn.elu(1.0) tf.nn.elu(0.0) tf.nn.elu(-1000.0)

See Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)

Args:

Returns:

  • Output: The activations tensor.

Constructors and Destructors

Elu(const ::tensorflow::Scope & scope, ::tensorflow::Input features)

Public attributes

activations
operation

Public functions

node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

activations

::tensorflow::Output activations

operation

Operation operation

Public functions

Elu

 Elu(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const