View source on GitHub |
A autoregressively masked dense layer. Analogous to tf.layers.dense
.
tfp.substrates.numpy.bijectors.masked_dense(
inputs,
units,
num_blocks=None,
exclusive=False,
kernel_initializer=None,
reuse=None,
name=None,
*args,
**kwargs
)
See [Germain et al. (2015)][1] for detailed explanation.
Returns | |
---|---|
Output tensor. |
Raises | |
---|---|
NotImplementedError
|
if rightmost dimension of inputs is unknown prior to
graph execution.
|
References
[1]: Mathieu Germain, Karol Gregor, Iain Murray, and Hugo Larochelle. MADE: Masked Autoencoder for Distribution Estimation. In International Conference on Machine Learning, 2015. https://arxiv.org/abs/1502.03509