Skip to content

v7.0.0

Compare
Choose a tag to compare
@danielward27 danielward27 released this 12 Jan 11:20
· 507 commits to main since this release
91fede8

What's Changed

#61 introduces important (and breaking) changes:

  1. 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).
  2. distribution.sample() now has a sample_shape: Tuple[int] argument, replacing n: int. Providing sample_shape=(n,) is equivalent to the previous n=n.
  3. Transformers have been removed, instead Bijection types can be used directly as transformers. i.e. Affine() or RationalQuadraticSpline(**args) should be used instead of AffineTransformer(), RationalQuadraticSplineTransformer(**args).
  4. RationalQuadraticSpline arguments renamed to knots and interval, rather than k and B
  5. Rename ScannableChain to Scan.
  6. Better documentation.
  7. Bumps version to 7.0.0

Full Changelog: v6.1.0...v7.0.0