API referenceΒΆ
The v1 API. Direction convention for bijections: Bijection.forward maps
data to latent (the normalizing direction used for likelihoods),
Bijection.inverse maps latent to data (the generative direction). On a
Flow the corresponding methods are
transform() (data β latent) and
generate() (latent β data); calling the flow itself,
flow(x), returns log_prob(x).