cjd_flows¶
CJD-Flows: normalizing flows with constant Jacobian determinant.
Quickstart:
import torch
from cjd_flows import USFlow, fit
flow = USFlow((2,), blocks=8, base="ggmix")
fit(flow, data, epochs=20)
flow.log_prob(x); flow.sample((1000,))
The legacy pyro-based API (cjd_flows.flows, cjd_flows.transforms,
cjd_flows.distributions) remains importable with the [legacy] extra.
The top-level package re-exports the most common objects: