random_binomial {keras3} | R Documentation |
Draw samples from a Binomial distribution.
Description
The values are drawn from a Binomial distribution with specified trial count and probability of success.
Usage
random_binomial(shape, counts, probabilities, dtype = NULL, seed = NULL)
Arguments
shape |
The shape of the random values to generate. |
counts |
A number or array of numbers representing the
number of trials. It must be broadcastable with |
probabilities |
A float or array of floats representing the
probability of success of an individual event.
It must be broadcastable with |
dtype |
Optional dtype of the tensor. Only floating point types are
supported. If not specified, |
seed |
A Python integer or instance of
|
Value
A tensor of random values.
See Also
Other random:
random_beta()
random_categorical()
random_dropout()
random_gamma()
random_integer()
random_normal()
random_seed_generator()
random_shuffle()
random_truncated_normal()
random_uniform()