tf.contrib.distributions.Mixture.sample_n(n, seed=None, name='sample_n')
Generate n samples.
Args:
-
n:ScalarTensorof typeint32orint64, the number of observations to sample. -
seed: Python integer seed for RNG -
name: name to give to the op.
Returns:
-
samples: aTensorwith a prepended dimension (n,).
Raises:
-
TypeError: ifnis not an integer type.
Please login to continue.