tensorflow:: ops:: Lgamma

#include <math_ops.h>

מחשב את הלוגריתם של הערך המוחלט של Gamma(x) לפי אלמנט.

תַקצִיר

עבור מספרים חיוביים, פונקציה זו מחשבת log((input - 1)!) עבור כל איבר בטנזור. lgamma(5) = log((5-1)!) = log(4!) = log(24) = 3.1780539

דוּגמָה:

x = tf.constant([0, 0.5, 1, 4.5, -4, -5.6])
tf.math.lgamma(x) ==> [inf, 0.5723649, 0., 2.4537368, inf, -4.6477685]

טיעונים:

החזרות:

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

Lgamma (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

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

לגמא

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

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const