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 1Dint32Tensor. Shape of the generated samples. -
seed: Python integer seed for RNG -
name: name to give to the op.
Returns:
-
samples: aTensorwith prepended dimensionssample_shape.
Please login to continue.