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

Method prob

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

Probability density/mass function. Args: value: `float` or `double` `Tensor`. name: Python `str` prepended to names of ops created by this function. Returns: prob: a `Tensor` of shape `sample_shape(x) + self.batch_shape` with values of type `self.dtype`.

(self, value, name="prob")

Source from the content-addressed store, hash-verified

811 raise original_exception
812
813 def prob(self, value, name="prob"):
814 """Probability density/mass function.
815
816 Args:
817 value: `float` or `double` `Tensor`.
818 name: Python `str` prepended to names of ops created by this function.
819
820 Returns:
821 prob: a `Tensor` of shape `sample_shape(x) + self.batch_shape` with
822 values of type `self.dtype`.
823 """
824 return self._call_prob(value, name)
825
826 def _log_cdf(self, value):
827 raise NotImplementedError("log_cdf is not implemented: {}".format(

Calls 1

_call_probMethod · 0.95