|View source on GitHub|
Create a random variable for Laplace.
tfp.edward2.Laplace( *args, **kwargs )
See Laplace for more details.
Original Docstring for Distribution
Construct Laplace distribution with parameters
scale must be shaped in a way that supports
loc / scale is a valid operation).
loc: Floating point tensor which characterizes the location (center) of the distribution.
scale: Positive floating point tensor which characterizes the spread of the distribution.
Truedistribution parameters are checked for validity despite possibly degrading runtime performance. When
Falseinvalid inputs may silently render incorrect outputs.
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.
strname prefixed to Ops created by this class.
scaleare of different dtype.