tensorflow::ops::Expm1
#include <math_ops.h> Вычисляет exp(x) - 1 поэлементно.
Краткое содержание
т. е. exp(x) - 1 или e^(x) - 1 , где x — входной тензор. e обозначает число Эйлера и приблизительно равно 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)
Аргументы:
- scope: Объект Scope
Возвращает:
-
Output: тензор Y.
Конструкторы и Деструкторы | |
|---|---|
Expm1 (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Общедоступные атрибуты | |
|---|---|
operation | |
y | |
Общественные функции | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Общедоступные атрибуты
операция
Operation operation
й
::tensorflow::Output y
Общественные функции
Эксп1
Expm1( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::tensorflow::Output
operator::tensorflow::Output() const