tfp.edward2.Logistic

View source on GitHub

Create a random variable for Logistic.

See Logistic for more details.

RandomVariable.

Original Docstring for Distribution

Construct Logistic distributions with mean and scale 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).

loc Floating point tensor, the means of the distribution(s).
scale Floating point tensor, the scales of the distribution(s). Must contain only positive values.
validate_args Python bool, default False. When True distribution parameters are checked for validity despite possibly degrading runtime performance. When False invalid inputs may silently render incorrect outputs.
allow_nan_stats Python bool, default True. When True, statistics (e.g., mean, mode, variance) use the value 'NaN' to indicate the result is undefined. When False, an exception is raised if one or more of the statistic's batch members are undefined.
name The name to give Ops created by the initializer.

TypeError if loc and scale are different dtypes.