# tf.math.lbeta

View source

Computes $$ln(|Beta(x)|)$$, reducing along the last dimension.

### Aliases:

• tf.compat.v1.lbeta
• tf.compat.v1.math.lbeta
• tf.compat.v2.math.lbeta
tf.math.lbeta(
x,
name=None
)


Given one-dimensional z = [z_0,...,z_{K-1}], we define

And for n + 1 dimensional x with shape [N1, ..., Nn, K], we define

In other words, the last dimension is treated as the z vector.

Note that if z = [u, v]免费成长做爱直播有哪些, then $$Beta(z) = int_0^1 t^{u-1} (1 - t)^{v-1} dt$$, which defines the traditional bivariate beta function.

#### Args:

• x: A rank n + 1 Tensor, n >= 0 with type float, or double.
• name: A name for the operation (optional).