تدفق التوتر:: العمليات:: 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)
الحجج:
- النطاق: كائن النطاق
العوائد:
-
Output
: الموتر y.
البنائين والمدمرين | |
---|---|
Expm1 (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الصفات العامة
عملية
Operation operation
ذ
::tensorflow::Output y
الوظائف العامة
Expm1
Expm1( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const