tensorflow :: ops :: Lgamma

#include <math_ops.h>

Menghitung log dari nilai absolut dari segi elemen Gamma(x) .

Ringkasan

Untuk bilangan positif, fungsi ini menghitung log ((input - 1)!) Untuk setiap elemen di tensor. lgamma(5) = log((5-1)!) = log(4!) = log(24) = 3.1780539

Contoh:

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]

Argumen:

Pengembalian:

Pembuat dan Penghancur

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

Atribut publik

operation
y

Fungsi publik

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

Atribut publik

operasi

Operation operation

y

::tensorflow::Output y

Fungsi publik

Lgamma

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

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const