|View source on GitHub|
Create a random variable for Gumbel.
tfp.edward2.Gumbel( *args, **kwargs )
See Gumbel for more details.
Original Docstring for Distribution
Construct Gumbel distributions with location and scale
scale must be shaped in a way that supports
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). scale must contain only positive values.
Truedistribution parameters are checked for validity despite possibly degrading runtime performance. When
Falseinvalid inputs may silently render incorrect outputs. Default value:
True, statistics (e.g., mean, mode, variance) use the value
NaNto indicate the result is undefined. When
False, an exception is raised if one or more of the statistic's batch members are undefined. Default value:
strname prefixed to Ops created by this class. Default value:
TypeError: if loc and scale are different dtypes.