distrax icon indicating copy to clipboard operation
distrax copied to clipboard

MADE masking like tfb.AutoregressiveNetwork

Open jecampagne opened this issue 3 years ago • 0 comments
trafficstars

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

        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

jecampagne avatar Oct 03 '22 13:10 jecampagne