Watch talks from the 2019 TensorFlow Dev Summit Watch now

tfp.edward2.LogNormal

tfp.edward2.LogNormal(
    *args,
    **kwargs
)

Create a random variable for LogNormal.

See LogNormal for more details.

Returns:

RandomVariable.

Original Docstring for Distribution

Construct a log-normal distribution.

The LogNormal distribution models positive-valued random variables whose logarithm is normally distributed with mean loc and standard deviation scale. It is constructed as the exponential transformation of a Normal distribution.

Args:

  • loc: Floating-point Tensor; the means of the underlying Normal distribution(s).
  • scale: Floating-point Tensor; the stddevs of the underlying Normal distribution(s).
  • validate_args: Python bool, 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: Python bool, 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.