tensorflow:: אופס:: לגמא
#include <math_ops.h>
מחשב את היומן של הערך המוחלט של Gamma(x)
מבחינה אלמנט.
תַקצִיר
עבור מספרים חיוביים, פונקציה זו מחשבת log((קלט - 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]
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: הטנסור y.
בנאים והורסים | |
---|---|
Lgamma (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
תפקידים ציבוריים
לגמא
Lgamma( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const