Missed TensorFlow World? Check out the recap. Learn more


View source on GitHub

Create a random variable for LogNormal.



See LogNormal for more details.



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.


  • 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.