sample_bernoulli | R Documentation |
Samples from Bernoulli distribution.
sample_bernoulli( probs = NULL, logits = NULL, dtype = tf$int32, sample_shape = list(), seed = NULL )
probs |
probabilities |
logits |
logits |
dtype |
the data type |
sample_shape |
a list/vector of integers |
seed |
integer, random seed |
a Tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.