google-deepmind / google-deepmind/distrax

MADE masking like tfb.AutoregressiveNetwork

Open
#204 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
651
Forks
48
Avg merge
21h 4m
Merged PRs (30d)
3

Description

Hello,
Am I right to say that SplitCoupling seems related to the Real NVP simple coupling, and MaskCoupling can implement a chessboard coupling?
And what about the autoregressive MADE like masking strategy, is it implemented somewhere?
I am looking for an equivalent of TF bijectors
```python
hidden_units = [128, 128]
bijectors.append(tfb.MaskedAutoregressiveFlow( name ='MAF%d' %i,
shift_and_log_scale_fn=tfb.AutoregressiveNetwork(
params=2, hidden_units=hidden_units, activation=tf.nn.leaky_relu)))

```
Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.