Returns the forward Bijector evaluation, i.e., X = g(Y).

tfb_forward(bijector, x, name = "forward")

Arguments

bijector

The bijector to apply

x

Tensor. The input to the "forward" evaluation.

name

name of the operation

Value

a tensor

See also

Examples

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