tf.contrib.distributions.Categorical.pmf(value, name='pmf')
Probability mass function.
Args:
-
value
:float
ordouble
Tensor
. -
name
: The name to give this op.
Returns:
-
pmf
: aTensor
of shapesample_shape(x) + self.batch_shape
with values of typeself.dtype
.
Raises:
-
TypeError
: ifis_continuous
.
Please login to continue.