ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.math.igamma

Compute the lower regularized incomplete Gamma function P(a, x).

Used in the notebooks

Used in the tutorials

The lower regularized incomplete Gamma function is defined as:

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

where

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

is the lower incomplete Gamma function.

Note, above Q(a, x) (Igammac) is the upper regularized complete Gamma function.

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).

A Tensor. Has the same type as a.