distribution

jaxns.framework.distribution

Module Contents

exception InvalidDistribution(dist=None)[source]

Bases: Exception

Raised when a distribution does not have a quantile.

Initialize self. See help(type(self)) for accurate signature.

Parameters:

dist (Optional[tfpd]) –

class Distribution(dist)[source]

Bases: jaxns.framework.bases.BaseAbstractDistribution

Represents a distribution, which must have defined forward and inverse transformations, and a log_prob.

Parameters:

dist (tfpd) –

__repr__()[source]

Return repr(self).