powered by
X = g(Y)
Returns the forward Bijector evaluation, i.e., X = g(Y).
tfb_forward(bijector, x, name = "forward")
a tensor
The bijector to apply
Tensor. The input to the "forward" evaluation.
name of the operation
Other bijector_methods: tfb_forward_log_det_jacobian(), tfb_inverse_log_det_jacobian(), tfb_inverse()
tfb_forward_log_det_jacobian()
tfb_inverse_log_det_jacobian()
tfb_inverse()
# \donttest{ b <- tfb_affine_scalar(shift = 1, scale = 2) x <- 10 b %>% tfb_forward(x) # }
Run the code above in your browser using DataLab