tf.contrib.distributions.Normal.__init__()

tf.contrib.distributions.Normal.__init__(mu, sigma, validate_args=False, allow_nan_stats=True, name='Normal')

Construct Normal distributions with mean and stddev mu and sigma.

The parameters mu and sigma must be shaped in a way that supports broadcasting (e.g. mu + sigma is a valid operation).

Args:
  • mu: Floating point tensor, the means of the distribution(s).
  • sigma: Floating point tensor, the stddevs of the distribution(s). sigma must contain only positive values.
  • validate_args: Boolean, default False. Whether to assert that sigma > 0. If validate_args is False, correct output is not guaranteed when input is invalid.
  • allow_nan_stats: Boolean, default True. If False, raise an exception if a statistic (e.g. mean/mode/etc...) is undefined for any batch member. If True, batch members with valid parameters leading to undefined statistics will return NaN for this statistic.
  • name: The name to give Ops created by the initializer.
Raises:
  • TypeError: if mu and sigma are different dtypes.
doc_TensorFlow
2016-10-14 13:00:22
Comments
Leave a Comment

Please login to continue.