Creates a Bernoulli distribution parameterized by probsor logits (but not both). Samples are binary (0 or 1). They take the value 1 with probability pand 0 with probability 1 - p.
probs
logits
1
p
0
1 - p
Useful links