aliran tensor:: operasi:: Gamma
#include <math_ops.h> Menghitung log nilai absolut Gamma(x) berdasarkan elemen.
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:
- ruang lingkup: Objek Lingkup
Pengembalian:
-
Output: Tensor y.
Konstruktor dan Destruktor | |
|---|---|
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
kamu
::tensorflow::Output y
Fungsi publik
Gamma
Lgamma( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const