Closed stefanwebb closed 2 years ago
Merging #107 (a8ed4e3) into main (a8dbf2b) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #107 +/- ##
=======================================
Coverage 98.39% 98.39%
=======================================
Files 6 6
Lines 249 249
=======================================
Hits 245 245
Misses 4 4
Flag | Coverage Δ | |
---|---|---|
unittests | 98.39% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a8dbf2b...a8ed4e3. Read the comment docs.
@stefanwebb has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Motivation
Currently when you compose two
Bijector
's with differentevent_dims
's, e.g.you get an error when the
log_detJ
term is calculated.Changes proposed
Compose.__init__
calculates the outputevent_dim
as the maximum over the bijectors, and the calculation ofevent_dim
sums out extra dimensions where required.Test Plan
See #104 for an example of code that currently fails.