Module flowcon.transforms.splines.linear

Functions

def linear_spline(inputs, unnormalized_pdf, inverse=False, left=0.0, right=1.0, bottom=0.0, top=1.0)

Reference:

Müller et al., Neural Importance Sampling, arXiv:1808.03856, 2018.

def unconstrained_linear_spline(inputs, unnormalized_pdf, inverse=False, tail_bound=1.0, tails='linear')