tf.contrib.distributions.QuantizedDistribution.prob(value, name='prob')
Probability density/mass function (depending on is_continuous).
Additional documentation from QuantizedDistribution:
For whole numbers y,
P[Y = y] := P[X <= lower_cutoff], if y == lower_cutoff,
:= P[X > upper_cutoff - 1], y == upper_cutoff,
:= 0, if j < lower_cutoff or y > upper_cutoff,
:= P[y - 1 < X <= y], all other y.
The base distribution's cdf method must be defined on y - 1. If the base distribution has a survival_function method, results will be more accurate for large values of y, and in this case the survival_function must also be defined on y - 1.
Args:
-
value:floatordoubleTensor. -
name: The name to give this op.
Returns:
-
prob: aTensorof shapesample_shape(x) + self.batch_shapewith values of typeself.dtype.
Please login to continue.