Skip to content

Commit

Permalink
Also do not patch MaskedAutoregressiveFlow.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 599551554
  • Loading branch information
ColCarroll authored and The oryx Authors committed Jan 18, 2024
1 parent ebcdedf commit fd6c9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oryx/core/interpreters/inverse/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
for name in tfb.__all__:
bij = getattr(tfb, name)
if inspect.isclass(bij) and issubclass(bij, tfb.Bijector):
if bij not in {tfb.Bijector, tfb.Composition}:
if bij not in {tfb.Bijector, tfb.Composition, tfb.MaskedAutoregressiveFlow}:
bijector_extensions.patch_bijector(bij)

ildj_registry = inverse_core.ildj_registry
Expand Down

0 comments on commit fd6c9cf

Please sign in to comment.