├── .github └── workflows │ ├── integration-tests.yml │ ├── lint.yml │ ├── publish-to-pypi.yml │ ├── tests.yml │ └── tests_nflows_fork.yml ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── examples ├── conditional_example.ipynb └── moons_nvp_example.ipynb ├── pyproject.toml ├── src └── glasflow │ ├── __init__.py │ ├── distributions │ ├── __init__.py │ ├── resampled.py │ └── uniform.py │ ├── flows │ ├── __init__.py │ ├── autoregressive.py │ ├── base.py │ ├── coupling.py │ ├── nsf.py │ └── realnvp.py │ ├── nets │ ├── __init__.py │ └── mlp.py │ ├── transforms │ ├── __init__.py │ ├── coupling.py │ └── utils.py │ └── utils.py └── tests ├── conftest.py ├── test_distributions ├── test_resampled.py └── test_uniform.py ├── test_flows ├── test_autoregressive.py ├── test_coupling.py ├── test_nsf.py └── test_realnvp.py ├── test_import.py ├── test_integration.py ├── test_nets └── test_mlp.py ├── test_transforms ├── test_coupling_transforms.py └── test_utils.py └── test_utils.py /.github/workflows/integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.github/workflows/integration-tests.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/publish-to-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.github/workflows/publish-to-pypi.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.github/workflows/tests_nflows_fork.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.github/workflows/tests_nflows_fork.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/README.md -------------------------------------------------------------------------------- /examples/conditional_example.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/examples/conditional_example.ipynb -------------------------------------------------------------------------------- /examples/moons_nvp_example.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/examples/moons_nvp_example.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/glasflow/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/__init__.py -------------------------------------------------------------------------------- /src/glasflow/distributions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/distributions/__init__.py -------------------------------------------------------------------------------- /src/glasflow/distributions/resampled.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/distributions/resampled.py -------------------------------------------------------------------------------- /src/glasflow/distributions/uniform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/distributions/uniform.py -------------------------------------------------------------------------------- /src/glasflow/flows/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/__init__.py -------------------------------------------------------------------------------- /src/glasflow/flows/autoregressive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/autoregressive.py -------------------------------------------------------------------------------- /src/glasflow/flows/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/base.py -------------------------------------------------------------------------------- /src/glasflow/flows/coupling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/coupling.py -------------------------------------------------------------------------------- /src/glasflow/flows/nsf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/nsf.py -------------------------------------------------------------------------------- /src/glasflow/flows/realnvp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/flows/realnvp.py -------------------------------------------------------------------------------- /src/glasflow/nets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/nets/__init__.py -------------------------------------------------------------------------------- /src/glasflow/nets/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/nets/mlp.py -------------------------------------------------------------------------------- /src/glasflow/transforms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/transforms/__init__.py -------------------------------------------------------------------------------- /src/glasflow/transforms/coupling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/transforms/coupling.py -------------------------------------------------------------------------------- /src/glasflow/transforms/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/transforms/utils.py -------------------------------------------------------------------------------- /src/glasflow/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/src/glasflow/utils.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_distributions/test_resampled.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_distributions/test_resampled.py -------------------------------------------------------------------------------- /tests/test_distributions/test_uniform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_distributions/test_uniform.py -------------------------------------------------------------------------------- /tests/test_flows/test_autoregressive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_flows/test_autoregressive.py -------------------------------------------------------------------------------- /tests/test_flows/test_coupling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_flows/test_coupling.py -------------------------------------------------------------------------------- /tests/test_flows/test_nsf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_flows/test_nsf.py -------------------------------------------------------------------------------- /tests/test_flows/test_realnvp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_flows/test_realnvp.py -------------------------------------------------------------------------------- /tests/test_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_import.py -------------------------------------------------------------------------------- /tests/test_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_integration.py -------------------------------------------------------------------------------- /tests/test_nets/test_mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_nets/test_mlp.py -------------------------------------------------------------------------------- /tests/test_transforms/test_coupling_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_transforms/test_coupling_transforms.py -------------------------------------------------------------------------------- /tests/test_transforms/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_transforms/test_utils.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uofgravity/glasflow/HEAD/tests/test_utils.py --------------------------------------------------------------------------------