tf.contrib.distributions.Bernoulli.__init__(logits=None, p=None, dtype=tf.int32, validate_args=False, allow_nan_stats=True, name='Bernoulli')
Construct Bernoulli distributions.
Args:
logits: An N-D Tensor representing the log-odds of a positive event. Each entry in the Tensor parametrizes an independent Bernoulli distribution where the probability of an event is sigmoid(logits).
p: An N-D Tensor representing the probability of a positive event. Each entry in the Tensor parameterizes an indep