Computes , reducing along the last dimension.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.math.lbeta(
x, name=None
)
Given one-dimensional , we define
where is the gamma function.
And for dimensional with shape , we define
In other words, the last dimension is treated as the vector.
Note that if , then
which defines the traditional bivariate beta function.
If the last dimension is empty, we follow the convention that the sum over the empty set is zero, and the product is one.
Args | |
---|---|
x
|
A rank n + 1 Tensor , n >= 0 with type float , or double .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
The logarithm of reducing along the last dimension. |