![]() |
Create a random variable for Beta.
Aliases:
tfp.edward2.Beta(
*args,
**kwargs
)
See Beta for more details.
Returns:
RandomVariable.
Original Docstring for Distribution
Initialize a batch of Beta distributions.
Args:
concentration1
: Positive floating-pointTensor
indicating mean number of successes; aka "alpha". Impliesself.dtype
andself.batch_shape
, i.e.,concentration1.shape = [N1, N2, ..., Nm] = self.batch_shape
.concentration0
: Positive floating-pointTensor
indicating mean number of failures; aka "beta". Otherwise has same semantics asconcentration1
.validate_args
: Pythonbool
, defaultFalse
. WhenTrue
distribution parameters are checked for validity despite possibly degrading runtime performance. WhenFalse
invalid inputs may silently render incorrect outputs.allow_nan_stats
: Pythonbool
, defaultTrue
. WhenTrue
, statistics (e.g., mean, mode, variance) use the value "NaN
" to indicate the result is undefined. WhenFalse
, an exception is raised if one or more of the statistic's batch members are undefined.name
: Pythonstr
name prefixed to Ops created by this class.