Skip to content

Commit

Permalink
Add ActNorm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnabergoj committed Aug 24, 2024
1 parent f65fd17 commit 6fc9e71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_reconstruction_bijections.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from torchflows.bijections.finite.autoregressive.architectures import NICE, RealNVP, CouplingRQNSF, MAF, IAF, \
InverseAutoregressiveRQNSF, MaskedAutoregressiveRQNSF
from torchflows.bijections.finite.autoregressive.layers import ElementwiseScale, ElementwiseAffine, ElementwiseShift, \
LRSCoupling, LinearRQSCoupling
LRSCoupling, LinearRQSCoupling, ActNorm
from torchflows.bijections.finite.linear import LU, ReversePermutation, LowerTriangular, Orthogonal, QR
from torchflows.bijections.finite.residual.architectures import ResFlow, InvertibleResNet, ProximalResFlow
from torchflows.bijections.finite.residual.iterative import InvertibleResNetBlock, ResFlowBlock
Expand Down Expand Up @@ -129,7 +129,8 @@ def assert_valid_reconstruction_continuous(bijection: ContinuousBijection,
Orthogonal,
QR,
ElementwiseAffine,
ElementwiseShift
ElementwiseShift,
ActNorm
])
@pytest.mark.parametrize('batch_shape', __test_constants['batch_shape'])
@pytest.mark.parametrize('event_shape', __test_constants['event_shape'])
Expand Down

0 comments on commit 6fc9e71

Please sign in to comment.