tfp.edward2.TruncatedCauchy

Create a random variable for TruncatedCauchy.

See TruncatedCauchy for more details.

RandomVariable.

Original Docstring for Distribution

Construct a TruncatedCauchy.

All parameters of the distribution will be broadcast to the same shape, so the resulting distribution will have a batch_shape of the broadcast shape of all parameters.

loc Floating point tensor; the modes of the corresponding non-truncated Cauchy distribution(s).
scale Floating point tensor; the scales of the distribution(s). Must contain only positive values.
low float Tensor representing lower bound of the distribution's support. Must be such that low < high.
high float Tensor representing upper bound of the distribution's support. Must be such that low < high.
validate_args Python bool, default False. When True distribution parameters are checked at run-time.
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.