Skip to content

Surjection layers for density estimation with normalizing flows

License

Notifications You must be signed in to change notification settings

dirmeier/surjectors

Repository files navigation

surjectors

status ci

Surjection layers for density estimation with normalizing flows

About

Surjectors is a light-weight library of inference and generative surjection layers, i.e., layers that reduce or increase dimensionality, for density estimation using normalizing flows. Surjectors builds on Distrax and Haiku and is fully compatible with both of them.

Examples

You can find several self-contained examples on how to use the algorithms in examples.

Installation

Make sure to have a working JAX installation. Depending whether you want to use CPU/GPU/TPU, please follow these instructions.

You can install

To install the latest GitHub , just call the following on the command line:

pip install git+https://github.com/dirmeier/surjectors@<RELEASE>

Author

Simon Dirmeier sfyrbnd @ pm me