tf.contrib.distributions.Laplace.__init__()

tf.contrib.distributions.Laplace.__init__(loc, scale, validate_args=False, allow_nan_stats=True, name='Laplace')

Construct Laplace distribution with parameters loc and scale.

The parameters loc and scale must be shaped in a way that supports broadcasting (e.g., loc / scale is a valid operation).

Args:
  • loc: Floating point tensor which characterizes the location (center) of the distribution.
  • scale: Positive floating point tensor which characterizes the spread of the distribution.
  • validate_args: Boolean, default False. Whether to validate input with asserts. If validate_args is False, and the inputs are invalid, correct behavior is not guaranteed.
  • 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 loc and scale are of different dtype.
doc_TensorFlow
2016-10-14 12:56:00
Comments
Leave a Comment

Please login to continue.