tf.contrib.distributions.Mixture.sample(sample_shape=(), seed=None, name='sample')
Generate samples of the specified shape.
Note that a call to sample()
without arguments will generate a single sample.
Args:
-
sample_shape
: 0D or 1Dint32
Tensor
. Shape of the generated samples. -
seed
: Python integer seed for RNG -
name
: name to give to the op.
Returns:
-
samples
: aTensor
with prepended dimensionssample_shape
.
Please login to continue.