tensorflow:: אופס:: 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

החזרות:

בנאים והורסים

Expm1 (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

תכונות ציבוריות

operation
y

תפקידים ציבוריים

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

תכונות ציבוריות

מבצע

Operation operation

y

::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