MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / cdf

Method cdf

tensorflow/python/ops/distributions/distribution.py:881–898  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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(

Callers 15

_npGeluMethod · 0.45
__getitem__Method · 0.45
truncated_cdfMethod · 0.45
_testZeroDensityMethod · 0.45
testBetaCdfMethod · 0.45
testBetaLogCdfMethod · 0.45
testCDFWithBatchMethod · 0.45

Calls 1

_call_cdfMethod · 0.95

Tested by 15

_npGeluMethod · 0.36
__getitem__Method · 0.36
truncated_cdfMethod · 0.36
_testZeroDensityMethod · 0.36
testBetaCdfMethod · 0.36
testBetaLogCdfMethod · 0.36
testCDFWithBatchMethod · 0.36
testCDFNoBatchMethod · 0.36
testCDFBroadcastingMethod · 0.36