Cumulative distribution function. Given random variable `X`, the cumulative distribution function `cdf` is: ```none cdf(x) := P[X <= x] ``` Args: value: `float` or `double` `Tensor`. name: Python `str` prepended to names of ops created by this function. Return
(self, value, name="cdf")
| 879 | raise original_exception |
| 880 | |
| 881 | def cdf(self, value, name="cdf"): |
| 882 | """Cumulative distribution function. |
| 883 | |
| 884 | Given random variable `X`, the cumulative distribution function `cdf` is: |
| 885 | |
| 886 | ```none |
| 887 | cdf(x) := P[X <= x] |
| 888 | ``` |
| 889 | |
| 890 | Args: |
| 891 | value: `float` or `double` `Tensor`. |
| 892 | name: Python `str` prepended to names of ops created by this function. |
| 893 | |
| 894 | Returns: |
| 895 | cdf: a `Tensor` of shape `sample_shape(x) + self.batch_shape` with |
| 896 | values of type `self.dtype`. |
| 897 | """ |
| 898 | return self._call_cdf(value, name) |
| 899 | |
| 900 | def _log_survival_function(self, value): |
| 901 | raise NotImplementedError( |