latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
IndependentTransform
- class tensorplay.distributions.IndependentTransform(base_transform: Transform, reinterpreted_batch_ndims: int, cache_size: int = 0)[source]
Wrapper around another transform to treat
reinterpreted_batch_ndims-many extra of the right most dimensions as dependent. This has no effect on the forward or backward transforms, but does sum outreinterpreted_batch_ndims-many of the rightmost dimensions inlog_abs_det_jacobian().- Parameters:
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

