Neural Spline¤
Module: generative_models.models.flow.neural_spline
Source: generative_models/models/flow/neural_spline.py
Overview¤
Neural Spline Flows implementation.
Based on the paper: "Neural Spline Flows" by Durkan et al. (2019) https://arxiv.org/abs/1906.04032
This implementation provides rational quadratic spline transformations for normalizing flows, following the existing architecture patterns.
Classes¤
NeuralSplineFlow¤
RationalQuadraticSplineTransform¤
SplineCouplingLayer¤
Functions¤
init¤
init¤
init¤
apply_spline¤
forward¤
forward¤
generate¤
inverse¤
inverse¤
log_prob¤
loss_fn¤
sample¤
Module Statistics¤
- Classes: 3
- Functions: 12
- Imports: 5