Both the domain and the codomain of the mapping is [-inf, inf], however, the input of the forward mapping must be strictly increasing. The inverse of the bijector applied to a normal random vector y ~ N(0, 1) gives back a sorted random vector with the same distribution x ~ N(0, 1) where x = sort(y)

tfb_ordered(validate_args = FALSE, name = "ordered")

Arguments

validate_args

Logical, default FALSE. Whether to validate input with asserts. If validate_args is FALSE, and the inputs are invalid, correct behavior is not guaranteed.

name

name prefixed to Ops created by this class.

Value

a bijector instance.

Details

On the last dimension of the tensor, Ordered bijector performs: y[0] = x[0] y[1:] = tf$log(x[1:] - x[:-1])

See also