tensorflow :: ops :: Expm1
#include <math_ops.h>
Oblicza exp(x) - 1
element mądry.
streszczenie
tj. exp(x) - 1
lub e^(x) - 1
, gdzie x
jest tensorem wejściowym. e
oznacza liczbę Eulera i jest w przybliżeniu równa 2,718281.
x = tf.constant(2.0) tf.math.expm1(x) ==> 6.389056
x = tf.constant([2.0, 8.0]) tf.math.expm1(x) ==> array([6.389056, 2979.958], dtype=float32)
x = tf.constant(1 + 1j) tf.math.expm1(x) ==> (0.46869393991588515+2.2873552871788423j)
Argumenty:
- zakres: obiekt Scope
Zwroty:
-
Output
: tensor y.
Konstruktorzy i niszczyciele | |
---|---|
Expm1 (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Atrybuty publiczne | |
---|---|
operation | |
y |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atrybuty publiczne
operacja
Operation operation
y
::tensorflow::Output y
Funkcje publiczne
Expm1
Expm1( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
węzeł
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const