tf.contrib.distributions.TransformedDistribution.sample_n(n, seed=None, name='sample_n')
Generate n samples.
Additional documentation from TransformedDistribution:
Samples from the base distribution and then passes through the transform.
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.