tf.random_poisson
tf.random_poisson
tf.random_poisson
random_poisson( lam, shape, dtype=tf.float32, seed=None, name=None )
Defined in tensorflow/python/ops/random_ops.py
.
Draws shape
samples from each of the given Poisson distribution(s).
lam
is the rate parameter describing the distribution(s).
Example:
samples = tf.random_poisson([0.5, 1.5], [10]) # samples has shape [10, 2], where each slice [:, 0] and [:, 1] represents # the samples dr