tf.contrib.distributions.Exponential.__init__(lam, validate_args=False, allow_nan_stats=True, name='Exponential')
Construct Exponential distribution with parameter lam.
Args:
-
lam: Floating point tensor, the rate of the distribution(s).lammust contain only positive values. -
validate_args:Boolean, defaultFalse. Whether to assert thatlam > 0, and thatx > 0in the methodsprob(x)andlog_prob(x). Ifvalidate_argsisFalseand the inputs are invalid, correct behavior is not guaranteed. -
allow_nan_stats:Boolean, defaultTrue. IfFalse, raise an exception if a statistic (e.g. mean/mode/etc...) is undefined for any batch member. IfTrue, batch members with valid parameters leading to undefined statistics will return NaN for this statistic. -
name: The name to prepend to all ops created by this distribution.
Please login to continue.