powered by
Samples from Bernoulli distribution.
sample_bernoulli( probs = NULL, logits = NULL, dtype = tf$int32, sample_shape = list(), seed = NULL )
probabilities
logits
the data type
a list/vector of integers
integer, random seed
a Tensor