Returns the inverse Bijector evaluation, i.e., X = g^{-1}(Y).

tfb_inverse(bijector, y, name = "inverse")

Arguments

bijector

The bijector to apply

y

Tensor. The input to the "inverse" evaluation.

name

name of the operation

Value

a tensor

See also

Examples

# \donttest{ b <- tfb_affine_scalar(shift = 1, scale = 2) x <- 10 y <- b %>% tfb_forward(x) b %>% tfb_inverse(y)
#> tf.Tensor(10.0, shape=(), dtype=float32)
# }