tensorflow:: ops:: Lgamma

#include <math_ops.h>

يحسب لوغاريتم القيمة المطلقة لـ Gamma(x) عنصرًا بعنصر.

ملخص

بالنسبة للأعداد الموجبة، تحسب هذه الدالة لوغاريتم (المدخل - 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

y

::tensorflow::Output y

الوظائف العامة

غاما

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

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const