tfp.edward2.Bates

View source on GitHub

Create a random variable for Bates.

See Bates for more details.

RandomVariable.

Original Docstring for Distribution

Construct a Bates distribution.

total_count Non-negative integer-valued Tensor with shape broadcastable to the batch shape [N1,..., Nm], m >= 0. This controls the number of samples of Uniform(low, high) to take the mean of.
low Floating point Tensor representing the lower bounds of the support. Should be broadcastable to [N1,..., Nm] with m >= 0, the same dtype as total_count, and low < high component-wise, after broadcasting. Defaults to 0.
high Floating point Tensor representing the upper bounds of the support. Should be broadcastable to [N1,..., Nm] with m >= 0, the same dtype as total_count, and low < high component-wise, after broadcasting. Defaults to 1.
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 Python str name prefixed to Ops created by this class.