Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added the Stacked bijector * a couple of style fixes * added size assertion to Stacked and better testing * added Stacked test to tests for norm flows * export TransformedDistribution * added som useful implementations for TransformedDistribution * fixed composer which had a bug leftover from previous PR * removed vectorization in logabsdetjac to fail loadly rather than silently * initial implementation of coupling-layers * added some docstrings * currently relies on Tracker#master due to Tracker/issues/12 * added extra construct of coupling layer from couplinglayer and mask * added dimension of expected input to Bijector type * composition now fails upon dimension mismatch * removed dots in logabsdetjac accumulates so as to not fail silently * updated Identity to work with batches * batch-specialization for Log and Exp * batch-specialization for Scale and Shift * added dimension method for bijectors * added tests for batch computation for a bunch of bijectors * removed a false comment * removed some left-over stuff from a failed merge * added some convenient constructors for SimplexBijector * fixed bug from previous commit and added tests for Stacked * fixed some left-over stuff from a merge * added comments convincing myself that entropy is invariant * removed redundant comment * fixed tests which had be messed up in the merge * added message for size-discrepancy in Stacked and tests * remvoed reexport of StatsBase * fixed a couple of typos * checking something with CI * more CI test stuff * fixed the test which failed on CI * okay now I fixed it * okay NOW i fixed the test * added asserts to evaluation of SimplexBijector to catch length-1 * made Stacked constructor more strict as it should be * added messages to assertions for SimplexBijector * updated Manifest * updated README to include info about Stacked * added Stacked to reference-section * removed useless line * added forward-specialization for Stacked * removed something by accident last commit * fixed mixed Stacked and added tests * removed no-longer-needed TODO and added more docstring * fixed comment * removed redundant whitespace * added assert-check to array-impl of Stacked * removed redundant type and fixed typo * removed unused consts * made the forward(b::Stacked, ...) generated slightly nicer * added batch-impls for CouplingLayer since this is unambiguous * added dependency on StaticArrays * export coupling layer * bump to 0.4.1 * fixed size-stuff for the flows * added more tests for batch computation * updated SimplexBijector * added more and better testing for batch support * added dimensionality to Stacked and tests * replaced vcat with stack to avoid unnecessary confusion * dropped redundant dimensionality for TransformedDistribution * fixed something that was mis-resolved * adapted CouplingLayer to new interface * WIP making couplings work properly with dimensionality * added comments to impl custom adjoints for Shift and Scale * added slightly better support for Tracker.jl in CouplingLayer * improved support for Tracker.jl * made some improvements * fixed Shift inverse and added matrix-scaling of vectors * added convenient couple and coupling methods * added testing and a bit more docstrings * fixed a merge-mistake * added CouplingLayer tests to the interface-tests * fixed tests with CouplingLayer and Tracker.jl * now using Bool for the sparse arrays in PartitionMask * PartitionMask construction now using true instead of 1.0 * fixed some tests I broke * added convenient default constructor to CouplingLayer * added to docstring for CouplingLayer * renamed CouplingLayer to Coupling and combined the two functions * improved testing for coupling and small changes to batch impls * forgot to include the renamed file * fixed doc for PartitionMask and added keyword to specify type * make use of setdiff Co-authored-by: David Widmann <[email protected]> * made sp_type a type-parameter instead of kwarg * removed AD testing of coupling with Scale due to Scale has nothing as adjoint * Apply suggestions from code review Co-authored-by: David Widmann <[email protected]> * Update src/bijectors/coupling.jl Co-authored-by: David Widmann <[email protected]> * Update src/bijectors/coupling.jl * Apply suggestions from code review Co-authored-by: David Widmann <[email protected]> * version bump Co-authored-by: T Fjelde (RA H Ge) <[email protected]> Co-authored-by: David Widmann <[email protected]>
- Loading branch information