تدفق التوتر:: العمليات:: لجاما

#include <math_ops.h>

يحسب سجل القيمة المطلقة لعنصر Gamma(x) .

ملخص

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