# Source code for pyro.infer.reparam.transform

# Copyright (c) 2017-2019 Uber Technologies, Inc.
[docs]class TransformReparam(Reparam): """ Reparameterizer for :class:pyro.distributions.torch.TransformedDistribution latent variables. This is useful for transformed distributions with complex, geometry-changing transforms, where the posterior has simple shape in the space of base_dist. This reparameterization works only for latent variables, not likelihoods. """