View source: R/bijector-methods.R
tfb_forward_log_det_jacobian | R Documentation |
Returns the result of the forward evaluation of the log determinant of the Jacobian
tfb_forward_log_det_jacobian( bijector, x, event_ndims, name = "forward_log_det_jacobian" )
bijector |
The bijector to apply |
x |
Tensor. The input to the "forward" Jacobian determinant evaluation. |
event_ndims |
Number of dimensions in the probabilistic events being transformed. Must be greater than or equal to bijector$forward_min_event_ndims. The result is summed over the final dimensions to produce a scalar Jacobian determinant for each event, i.e. it has shape x$shape$ndims - event_ndims dimensions. |
name |
name of the operation |
a tensor
Other bijector_methods:
tfb_forward()
,
tfb_inverse_log_det_jacobian()
,
tfb_inverse()
b <- tfb_affine_scalar(shift = 1, scale = 2) x <- 10 b %>% tfb_forward_log_det_jacobian(x, event_ndims = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.