variational_block | R Documentation |
This variational block consists in two dense layers which take as input the previous layer and a sampling layer. More specifically, these layers aim to represent the mean and the log variance of the learned distribution in a variational autoencoder.
variational_block(units, epsilon_std = 1, seed = NULL)
units |
Number of units |
epsilon_std |
Standard deviation for the normal distribution used for sampling |
seed |
A seed for the random number generator. Setting a seed is required if you want to save the model and be able to load it correctly |
A construct with class "ruta_layer"
\link{autoencoder_variational}
Other neural layers:
conv()
,
dense()
,
dropout()
,
input()
,
layer_keras()
,
output()
variational_block(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.