blob: 9da04a364260e716a16cee5c5055a437d57d730e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
### `tf.betainc(a, b, x, name=None)` {#betainc}
Compute the regularized incomplete beta integral \\(I_x(a, b)\\).
The regularized incomplete beta integral is defined as:
```
I_x(a, b) = \frac{B(x; a, b)}{B(a, b)}
```
where
```
B(x; a, b) = \int_0^x t^{a-1} (1 - t)^{b-1} dt
```
is the incomplete beta function and \\(B(a, b)\\) is the *complete*
beta function.
##### Args:
* <b>`a`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`.
* <b>`b`</b>: A `Tensor`. Must have the same type as `a`.
* <b>`x`</b>: A `Tensor`. Must have the same type as `a`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A `Tensor`. Has the same type as `a`.
|