v7.0.0
What's Changed
- Improve documentation by @danielward27 in #57
- Imrpove documentation structure by @danielward27 in #58
- Use math instead of jnp in TanhLinearTails init by @danielward27 in #59
- Multiple ndim by @danielward27 in #61
#61 introduces important (and breaking) changes:
- Distributions and bijections now have shapes, rather than assuming everything is a vector with shape
(dim, )
. Distributions and bijections must define the attributes shape and cond_shape (see Distribution and Bijection). distribution.sample()
now has asample_shape: Tuple[int]
argument, replacingn: int
. Providingsample_shape=(n,)
is equivalent to the previousn=n
.- Transformers have been removed, instead Bijection types can be used directly as transformers. i.e.
Affine()
orRationalQuadraticSpline(**args)
should be used instead ofAffineTransformer()
,RationalQuadraticSplineTransformer(**args)
. RationalQuadraticSpline
arguments renamed toknots
andinterval
, rather thank
andB
- Rename
ScannableChain
toScan
. - Better documentation.
- Bumps version to 7.0.0
Full Changelog: v6.1.0...v7.0.0