tf.contrib.distributions.TransformedDistribution.sample_n()

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: Scalar Tensor of type int32 or int64, the number of observations to sample.
  • seed: Python integer seed for RNG
  • name: name to give to the op.
Returns:
  • samples: a Tensor with a prepended dimension (n,).
Raises:
  • TypeError: if n is not an integer type.
doc_TensorFlow
2016-10-14 13:03:03
Comments
Leave a Comment

Please login to continue.