tf.math.igammac  |  TensorFlow v2.16.1 (original) (raw)

tf.math.igammac

Stay organized with collections Save and categorize content based on your preferences.

Compute the upper regularized incomplete Gamma function Q(a, x).

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.igammac, tf.compat.v1.math.igammac

tf.math.igammac(
    a: Annotated[Any, tf.raw_ops.Any],
    x: Annotated[Any, tf.raw_ops.Any],
    name=None
) -> Annotated[Any, tf.raw_ops.Any]

Used in the notebooks

Used in the tutorials
TFP Release Notes notebook (0.13.0)

The upper regularized incomplete Gamma function is defined as:

\(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\)

where

\(Gamma(a, x) = \int_{x}^{\infty} t^{a-1} exp(-t) dt\)

is the upper incomplete Gamma function.

Note, above P(a, x) (Igamma) is the lower regularized complete Gamma function.

Args
a A Tensor. Must be one of the following types: bfloat16, half, float32, float64.
x A Tensor. Must have the same type as a.
name A name for the operation (optional).
Returns
A Tensor. Has the same type as a.